Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",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.001407/0.001407, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01066/0.01066, allocations: 169.3 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.002731/0.002731, allocations: 0.5544 MB / 292 MB, free: 1.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003445, allocations: 11.98 kB / 353.4 MB, free: 2.391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3806, allocations: 50.56 MB / 404 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.0006522/0.3813, allocations: 245.7 kB / 404.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001369/0.3814, allocations: 26.22 kB / 404.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.959e-05/0.3815, allocations: 0 / 404.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.3815, allocations: 3.312 kB / 404.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.184e-05/0.3815, allocations: 0.7188 kB / 404.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.3817, allocations: 9.484 kB / 404.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.179e-05/0.3817, allocations: 19.77 kB / 404.3 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.3818, allocations: 3.172 kB / 404.3 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.196e-05/0.3818, allocations: 12.98 kB / 404.3 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.642e-05/0.3819, allocations: 11.44 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.3819, allocations: 5.625 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.3819, allocations: 1.656 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.382, allocations: 8.203 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.382, allocations: 38.89 kB / 404.3 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.714e-05/0.3821, allocations: 11.72 kB / 404.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3821, allocations: 0.5625 kB / 404.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3821, allocations: 0 / 404.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.3821, allocations: 0 / 404.4 MB, free: 10.01 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003074/0.3824, allocations: 330.2 kB / 404.7 MB, free: 9.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.3825, allocations: 13.28 kB / 404.7 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.145e-05/0.3825, allocations: 32.83 kB / 404.7 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.3825, allocations: 3.219 kB / 404.7 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.889e-05/0.3826, allocations: 163.8 kB / 404.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3826, allocations: 7.031 kB / 404.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.3827, allocations: 4.453 kB / 404.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.3828, allocations: 49.56 kB / 404.9 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3828, allocations: 4.812 kB / 404.9 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.3828, allocations: 0 / 404.9 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3828, allocations: 0.9062 kB / 404.9 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.553e-05/0.3829, allocations: 18.47 kB / 405 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.3831, allocations: 252.6 kB / 405.2 MB, free: 9.109 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.3833, allocations: 54.98 kB / 405.3 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.3833, allocations: 22.92 kB / 405.3 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.3833, allocations: 0 / 405.3 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.3833, allocations: 37.92 kB / 405.3 MB, free: 9.027 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.3834, allocations: 0 / 405.3 MB, free: 9.027 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006713/0.384, allocations: 0.5018 MB / 405.8 MB, free: 8.578 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.3841, allocations: 52.84 kB / 405.9 MB, free: 8.516 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.659e-05/0.3841, allocations: 98.19 kB / 406 MB, free: 8.418 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.597e-06/0.3841, allocations: 35.02 kB / 406 MB, free: 8.379 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/0.3842, allocations: 81.44 kB / 406.1 MB, free: 8.297 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.3842, allocations: 32.86 kB / 406.1 MB, free: 8.277 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.3842, allocations: 16.55 kB / 406.1 MB, free: 8.262 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.3843, allocations: 318 kB / 406.4 MB, free: 7.945 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.3843, allocations: 15.31 kB / 406.5 MB, free: 7.945 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.949e-05/0.3844, allocations: 31.34 kB / 406.5 MB, free: 7.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.3847, allocations: 255.3 kB / 406.7 MB, free: 7.719 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3847, allocations: 0.5625 kB / 406.7 MB, free: 7.719 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001148/0.3848, allocations: 83.83 kB / 406.8 MB, free: 7.68 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3848, allocations: 6.328 kB / 406.8 MB, free: 7.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3848, allocations: 4.062 kB / 406.8 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3849, allocations: 1.5 kB / 406.8 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.385, allocations: 18.58 kB / 406.9 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.385, allocations: 1.453 kB / 406.9 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.385, allocations: 9.188 kB / 406.9 MB, free: 7.668 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-06/0.385, allocations: 2.094 kB / 406.9 MB, free: 7.668 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 sytem: $DER.v1 = 0.0 $DER.x1 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001169/0.3851, allocations: 122.7 kB / 407 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.3852, allocations: 2.266 kB / 407 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.3852, allocations: 12.89 kB / 407 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3852, allocations: 1.328 kB / 407 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3852, allocations: 1.281 kB / 407 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3852, allocations: 4.594 kB / 407 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003796/0.3856, allocations: 374.3 kB / 407.4 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3856, allocations: 0.5625 kB / 407.4 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.06e-05/0.3857, allocations: 8.812 kB / 407.4 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.3858, allocations: 22.22 kB / 407.4 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3858, allocations: 2.484 kB / 407.4 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007398/0.3866, allocations: 1.284 MB / 408.7 MB, free: 5.906 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3866, allocations: 1.453 kB / 408.7 MB, free: 5.906 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.3868, allocations: 229.9 kB / 408.9 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.3868, allocations: 83.67 kB / 409 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.3869, allocations: 8.344 kB / 409 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.449e-05/0.3869, allocations: 13.56 kB / 409 MB, free: 5.617 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.387, allocations: 12.3 kB / 409 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.387, allocations: 4.938 kB / 409 MB, free: 5.613 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.393e-05/0.387, allocations: 84.22 kB / 409.1 MB, free: 5.535 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.387, allocations: 3.938 kB / 409.1 MB, free: 5.531 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.3872, allocations: 10.59 kB / 409.1 MB, free: 5.531 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003746/0.3876, allocations: 0.7568 MB / 409.9 MB, free: 4.836 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.3877, allocations: 42.16 kB / 409.9 MB, free: 4.832 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3877, allocations: 1.562 kB / 409.9 MB, free: 4.832 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.388, allocations: 147.9 kB / 410.1 MB, free: 4.715 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.3882, allocations: 9.344 kB / 410.1 MB, free: 4.715 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008655/0.3891, allocations: 1.366 MB / 411.5 MB, free: 3.461 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.3892, allocations: 0.684 MB / 412.1 MB, free: 2.766 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.103e-05/0.3892, allocations: 3.719 kB / 412.1 MB, free: 2.766 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.3893, allocations: 16.17 kB / 412.2 MB, free: 2.762 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3893, allocations: 1 kB / 412.2 MB, free: 2.762 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4177/0.8069, allocations: 1.437 MB / 413.6 MB, free: 2.625 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000287/0.8073, allocations: 293 kB / 413.9 MB, free: 2.25 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.668, allocations: 7.031 kB / 413.9 MB, free: 2.246 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1)