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.0008468/0.0008469, allocations: 97.41 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.00732/0.007321, allocations: 170.7 kB / 16.27 MB, free: 6.66 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.544/1.544, allocations: 223.3 MB / 240.3 MB, free: 5.312 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.002482/0.002482, allocations: 0.5508 MB / 292 MB, free: 1.562 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003644, allocations: 8 kB / 353.4 MB, free: 2.363 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.344, allocations: 50.57 MB / 404 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.00254/0.3467, allocations: 1.36 MB / 405.3 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002974/0.347, allocations: 99.08 kB / 405.4 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.3471, allocations: 1.812 kB / 405.4 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.435e-05/0.3471, allocations: 10.05 kB / 405.4 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.3472, allocations: 30.59 kB / 405.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.3474, allocations: 19.44 kB / 405.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.3476, allocations: 104.5 kB / 405.6 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.3477, allocations: 35.53 kB / 405.6 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.106e-05/0.3478, allocations: 31.73 kB / 405.7 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.3479, allocations: 41.52 kB / 405.7 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.348, allocations: 5.25 kB / 405.7 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.331e-05/0.348, allocations: 5.312 kB / 405.7 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.149e-05/0.348, allocations: 16.45 kB / 405.7 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.581e-05/0.3481, allocations: 71.08 kB / 405.8 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.3483, allocations: 102.7 kB / 405.9 MB, free: 9.848 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3483, allocations: 0.6562 kB / 405.9 MB, free: 9.848 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3483, allocations: 4 kB / 405.9 MB, free: 9.844 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.3483, allocations: 1.531 kB / 405.9 MB, free: 9.844 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.000465/0.3488, allocations: 380.2 kB / 406.3 MB, free: 9.469 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.3488, allocations: 9.219 kB / 406.3 MB, free: 9.469 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.3489, allocations: 42.06 kB / 406.3 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.3489, allocations: 14.5 kB / 406.3 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.3491, allocations: 187.8 kB / 406.5 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3491, allocations: 15.97 kB / 406.5 MB, free: 9.211 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.3491, allocations: 9.75 kB / 406.5 MB, free: 9.211 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.3494, allocations: 97.06 kB / 406.6 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3494, allocations: 1.469 kB / 406.6 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.3494, allocations: 2.938 kB / 406.6 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.3494, allocations: 6.453 kB / 406.6 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.3496, allocations: 61.88 kB / 406.7 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005419/0.3501, allocations: 395.9 kB / 407.1 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.3503, allocations: 98.41 kB / 407.2 MB, free: 8.77 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.77e-05/0.3504, allocations: 37.61 kB / 407.2 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.3504, allocations: 2 kB / 407.2 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.3504, allocations: 39.97 kB / 407.3 MB, free: 8.703 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.3504, allocations: 0 / 407.3 MB, free: 8.703 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001149/0.3516, allocations: 0.6886 MB / 408 MB, free: 8.125 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.3516, allocations: 54.28 kB / 408 MB, free: 8.062 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.389e-05/0.3517, allocations: 120.1 kB / 408.1 MB, free: 7.953 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.3518, allocations: 35.05 kB / 408.2 MB, free: 7.914 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.3518, allocations: 102.9 kB / 408.3 MB, free: 7.812 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.3519, allocations: 59.23 kB / 408.3 MB, free: 7.766 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.3519, allocations: 19.33 kB / 408.3 MB, free: 7.746 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.246e-05/0.352, allocations: 322.2 kB / 408.7 MB, free: 7.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/0.3521, allocations: 32.66 kB / 408.7 MB, free: 7.418 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.431e-05/0.3522, allocations: 69.53 kB / 408.8 MB, free: 7.371 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.0005684/0.3527, allocations: 373.4 kB / 409.1 MB, free: 7.086 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3527, allocations: 0 / 409.1 MB, free: 7.086 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002064/0.353, allocations: 138.8 kB / 409.3 MB, free: 7.012 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.353, allocations: 9.5 kB / 409.3 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.353, allocations: 2 kB / 409.3 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.353, allocations: 1.281 kB / 409.3 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.3532, allocations: 42.36 kB / 409.3 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.3532, allocations: 1.844 kB / 409.3 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.3533, allocations: 2.25 kB / 409.3 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.3533, allocations: 8.125 kB / 409.3 MB, free: 6.996 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: 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 8.591e-05/0.3534, allocations: 131.1 kB / 409.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.3534, allocations: 13.62 kB / 409.5 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/0.3535, allocations: 15.09 kB / 409.5 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3535, allocations: 2.156 kB / 409.5 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.3535, allocations: 0.9688 kB / 409.5 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3535, allocations: 1.5 kB / 409.5 MB, free: 6.844 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.0006058/0.3541, allocations: 0.6059 MB / 410.1 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3541, allocations: 3.641 kB / 410.1 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.3542, allocations: 24.7 kB / 410.1 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.3544, allocations: 21.69 kB / 410.1 MB, free: 6.273 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3544, allocations: 10.73 kB / 410.1 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006965/0.3551, allocations: 1.264 MB / 411.4 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3551, allocations: 1.031 kB / 411.4 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.3554, allocations: 305.2 kB / 411.7 MB, free: 4.727 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.3555, allocations: 89.97 kB / 411.8 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.3555, allocations: 3.031 kB / 411.8 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/0.3556, allocations: 5.375 kB / 411.8 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.3556, allocations: 9.281 kB / 411.8 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.3556, allocations: 8.312 kB / 411.8 MB, free: 4.617 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.342e-05/0.3557, allocations: 104.9 kB / 411.9 MB, free: 4.527 MB / 286.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3557, allocations: 0 / 411.9 MB, free: 4.527 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.356, allocations: 29 kB / 411.9 MB, free: 4.523 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.0004911/0.3565, allocations: 0.8341 MB / 412.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.3567, allocations: 99.84 kB / 412.9 MB, free: 3.734 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3567, allocations: 3.938 kB / 412.9 MB, free: 3.73 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.3569, allocations: 170.9 kB / 413.1 MB, free: 3.602 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.3573, allocations: 28.92 kB / 413.1 MB, free: 3.59 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.3589, allocations: 1.863 MB / 414.9 MB, free: 2 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.3591, allocations: 0.704 MB / 415.6 MB, free: 1.305 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.562e-05/0.3592, allocations: 14.33 kB / 415.7 MB, free: 1.301 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.3592, allocations: 29.19 kB / 415.7 MB, free: 1.281 MB / 286.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3593, allocations: 4 kB / 415.7 MB, free: 1.277 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.3754, allocations: 2.655 MB / 418.3 MB, free: 1.07 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.3756, allocations: 284.8 kB / 418.6 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.339, allocations: 0 / 418.6 MB, free: 0.6953 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)