Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002623/0.002623, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003351/0.00335, allocations: 193.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.692/2.692, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.005528/0.005527, allocations: 0.5661 MB / 291 MB, free: 1.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001937, allocations: 59.91 kB / 351.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2331, allocations: 49.6 MB / 401.3 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.4562/0.6895, allocations: 1.651 MB / 402.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003821/0.69, allocations: 92.42 kB / 403 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.69, allocations: 2.031 kB / 403 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.449e-05/0.6901, allocations: 14.06 kB / 403 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.6903, allocations: 31.08 kB / 403 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.6907, allocations: 26.45 kB / 403.1 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004361/0.6911, allocations: 109.3 kB / 403.2 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004308/0.6916, allocations: 32.62 kB / 403.2 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.6918, allocations: 37.53 kB / 403.2 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.6921, allocations: 47.02 kB / 403.3 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.6921, allocations: 7.75 kB / 403.3 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.139e-05/0.6922, allocations: 12.53 kB / 403.3 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.6922, allocations: 18.38 kB / 403.3 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.6924, allocations: 52.89 kB / 403.4 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.6926, allocations: 104.6 kB / 403.5 MB, free: 9.816 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6926, allocations: 0 / 403.5 MB, free: 9.816 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6926, allocations: 0.6562 kB / 403.5 MB, free: 9.816 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.6926, allocations: 1.031 kB / 403.5 MB, free: 9.816 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009027/0.6935, allocations: 404.3 kB / 403.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.271e-05/0.6936, allocations: 8.531 kB / 403.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.6938, allocations: 40.72 kB / 403.9 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.599e-05/0.6939, allocations: 14.34 kB / 403.9 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.6943, allocations: 189.2 kB / 404.1 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.352e-05/0.6944, allocations: 4.062 kB / 404.1 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.6944, allocations: 19.14 kB / 404.1 MB, free: 9.152 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.6947, allocations: 94.77 kB / 404.2 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.6947, allocations: 2.609 kB / 404.2 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.6947, allocations: 0.5625 kB / 404.2 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.6947, allocations: 6.969 kB / 404.3 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.6949, allocations: 56.94 kB / 404.3 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.696, allocations: 392.3 kB / 404.7 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/0.6966, allocations: 99.47 kB / 404.8 MB, free: 8.684 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.6968, allocations: 41.64 kB / 404.8 MB, free: 8.66 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.239e-05/0.6969, allocations: 5.562 kB / 404.8 MB, free: 8.656 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.016e-05/0.697, allocations: 32.78 kB / 404.9 MB, free: 8.617 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.803e-06/0.697, allocations: 0 / 404.9 MB, free: 8.617 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.002159/0.6991, allocations: 0.6798 MB / 405.5 MB, free: 8.043 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.6993, allocations: 62.56 kB / 405.6 MB, free: 7.973 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.6995, allocations: 123.7 kB / 405.7 MB, free: 7.863 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.6995, allocations: 26.86 kB / 405.8 MB, free: 7.832 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.6996, allocations: 102.5 kB / 405.9 MB, free: 7.734 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.6996, allocations: 59.38 kB / 405.9 MB, free: 7.688 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.6997, allocations: 34.66 kB / 405.9 MB, free: 7.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.802e-05/0.6998, allocations: 321.8 kB / 406.3 MB, free: 7.344 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.359e-05/0.6999, allocations: 32.98 kB / 406.3 MB, free: 7.332 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.763e-05/0.6999, allocations: 71.38 kB / 406.4 MB, free: 7.285 MB / 286.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008709/0.7008, allocations: 371.1 kB / 406.7 MB, free: 7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.7009, allocations: 3.938 kB / 406.7 MB, free: 6.996 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004614/0.7013, allocations: 141.9 kB / 406.9 MB, free: 6.922 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.7014, allocations: 5.5 kB / 406.9 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.7015, allocations: 5.672 kB / 406.9 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.368e-05/0.7015, allocations: 1.062 kB / 406.9 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.7019, allocations: 43.02 kB / 406.9 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.7019, allocations: 1.438 kB / 406.9 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.7019, allocations: 5.875 kB / 406.9 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.702, allocations: 12.25 kB / 406.9 MB, free: 6.898 MB / 286.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: mass1.v = $START.mass1.v mass2.a = $START.mass2.a. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.7021, allocations: 133.1 kB / 407.1 MB, free: 6.77 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.7021, allocations: 9.438 kB / 407.1 MB, free: 6.766 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.347e-05/0.7022, allocations: 16.95 kB / 407.1 MB, free: 6.75 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.7022, allocations: 2.375 kB / 407.1 MB, free: 6.75 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.7022, allocations: 1.812 kB / 407.1 MB, free: 6.75 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.7022, allocations: 0.7969 kB / 407.1 MB, free: 6.75 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.7034, allocations: 0.5933 MB / 407.7 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.7035, allocations: 3 kB / 407.7 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.7037, allocations: 26.83 kB / 407.7 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002501/0.704, allocations: 29.59 kB / 407.8 MB, free: 6.18 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.704, allocations: 2.5 kB / 407.8 MB, free: 6.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.7053, allocations: 1.37 MB / 409.1 MB, free: 4.77 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.7053, allocations: 1.125 kB / 409.1 MB, free: 4.77 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006847/0.706, allocations: 306.3 kB / 409.4 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.832e-05/0.7062, allocations: 85.08 kB / 409.5 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.7062, allocations: 7.828 kB / 409.5 MB, free: 4.438 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.7063, allocations: 1.281 kB / 409.5 MB, free: 4.438 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.7064, allocations: 17.42 kB / 409.5 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.7064, allocations: 4.031 kB / 409.5 MB, free: 4.43 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.731e-05/0.7065, allocations: 93.98 kB / 409.6 MB, free: 4.352 MB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7065, allocations: 4.062 kB / 409.6 MB, free: 4.348 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003538/0.7068, allocations: 32.25 kB / 409.7 MB, free: 4.34 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000969/0.7078, allocations: 0.8335 MB / 410.5 MB, free: 3.582 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005238/0.7084, allocations: 108.9 kB / 410.6 MB, free: 3.543 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.7084, allocations: 1.906 kB / 410.6 MB, free: 3.543 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005749/0.709, allocations: 166.1 kB / 410.8 MB, free: 3.414 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.7095, allocations: 25.98 kB / 410.8 MB, free: 3.402 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.7122, allocations: 1.789 MB / 412.6 MB, free: 1.863 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.7126, allocations: 0.7084 MB / 413.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.7128, allocations: 11.03 kB / 413.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.7129, allocations: 29.12 kB / 413.3 MB, free: 1.145 MB / 286.1 MB Notification: Performance of SimCode: time 6.71e-07/0.7129, allocations: 0 / 413.3 MB, free: 1.145 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05244/0.7654, allocations: 2.917 MB / 416.2 MB, free: 0.707 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.57, allocations: 2.219 kB / 416.2 MB, free: 0.707 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1)