Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",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.00102/0.001021, allocations: 97.64 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.00839/0.00839, allocations: 170.1 kB / 16.27 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.63/1.63, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.002588/0.002588, allocations: 0.543 MB / 292 MB, free: 1.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004344/0.0004342, allocations: 8 kB / 353.4 MB, free: 2.383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3564, allocations: 50.57 MB / 404 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002053/0.3585, allocations: 1.348 MB / 405.3 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002582/0.3588, allocations: 94.42 kB / 405.4 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.474e-05/0.3589, allocations: 8.812 kB / 405.4 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.081e-05/0.3589, allocations: 10.33 kB / 405.4 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.799e-05/0.359, allocations: 21.28 kB / 405.5 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.3592, allocations: 20.95 kB / 405.5 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.3593, allocations: 101.9 kB / 405.6 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.3595, allocations: 31.52 kB / 405.6 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.619e-05/0.3596, allocations: 31.41 kB / 405.6 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.989e-05/0.3597, allocations: 41 kB / 405.7 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.3597, allocations: 4.5 kB / 405.7 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.281e-05/0.3597, allocations: 5.5 kB / 405.7 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.3598, allocations: 20.02 kB / 405.7 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/0.3598, allocations: 75.55 kB / 405.8 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.36, allocations: 103.1 kB / 405.9 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.36, allocations: 0.625 kB / 405.9 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.36, allocations: 1.625 kB / 405.9 MB, free: 9.863 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.36, allocations: 0 / 405.9 MB, free: 9.863 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.000428/0.3605, allocations: 380.3 kB / 406.3 MB, free: 9.488 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3605, allocations: 13.77 kB / 406.3 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.3606, allocations: 41.02 kB / 406.3 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.3606, allocations: 10.61 kB / 406.3 MB, free: 9.441 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.3608, allocations: 190.2 kB / 406.5 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.3608, allocations: 7.531 kB / 406.5 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.3608, allocations: 10.06 kB / 406.5 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.361, allocations: 91.7 kB / 406.6 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3611, allocations: 2.328 kB / 406.6 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.3611, allocations: 4.938 kB / 406.6 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.3611, allocations: 2 kB / 406.6 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.3612, allocations: 63.03 kB / 406.7 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.3618, allocations: 396.8 kB / 407.1 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.362, allocations: 109.8 kB / 407.2 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.876e-05/0.362, allocations: 42.08 kB / 407.2 MB, free: 8.773 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.362, allocations: 1.031 kB / 407.2 MB, free: 8.773 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.3621, allocations: 32.2 kB / 407.2 MB, free: 8.734 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.3621, allocations: 0 / 407.2 MB, free: 8.734 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001069/0.3632, allocations: 0.6862 MB / 407.9 MB, free: 8.156 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.3632, allocations: 57.66 kB / 408 MB, free: 8.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.665e-05/0.3633, allocations: 125.3 kB / 408.1 MB, free: 7.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.3633, allocations: 25.7 kB / 408.1 MB, free: 7.949 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.3633, allocations: 103.1 kB / 408.2 MB, free: 7.844 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.3634, allocations: 53.03 kB / 408.3 MB, free: 7.805 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.3634, allocations: 19.88 kB / 408.3 MB, free: 7.785 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.978e-05/0.3635, allocations: 321.3 kB / 408.6 MB, free: 7.469 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.912e-05/0.3636, allocations: 40.88 kB / 408.7 MB, free: 7.449 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.254e-05/0.3636, allocations: 64.75 kB / 408.7 MB, free: 7.406 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.3638, allocations: 99.16 kB / 408.8 MB, free: 7.348 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3638, allocations: 0.875 kB / 408.8 MB, free: 7.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002599/0.3641, allocations: 170.5 kB / 409 MB, free: 7.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3641, allocations: 10.83 kB / 409 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3641, allocations: 1.188 kB / 409 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/0.3642, allocations: 26.77 kB / 409 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.3644, allocations: 24.88 kB / 409.1 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009605/0.3653, allocations: 1.447 MB / 410.5 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.75e-05/0.3654, allocations: 6.984 kB / 410.5 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3654, allocations: 3.5 kB / 410.5 MB, free: 5.789 MB / 286.1 MB 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.109e-05/0.3655, allocations: 132.4 kB / 410.6 MB, free: 5.656 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.3655, allocations: 13.64 kB / 410.7 MB, free: 5.648 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.3656, allocations: 20.17 kB / 410.7 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3656, allocations: 2.562 kB / 410.7 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.3656, allocations: 0.9688 kB / 410.7 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3656, allocations: 3.516 kB / 410.7 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.3661, allocations: 0.5455 MB / 411.2 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3662, allocations: 4 kB / 411.2 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.3663, allocations: 26.66 kB / 411.3 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.174e-05/0.3664, allocations: 20.41 kB / 411.3 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3664, allocations: 2.406 kB / 411.3 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006095/0.367, allocations: 1.28 MB / 412.6 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.367, allocations: 1.281 kB / 412.6 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.3673, allocations: 307.4 kB / 412.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.3673, allocations: 89.95 kB / 412.9 MB, free: 3.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.3674, allocations: 3.734 kB / 412.9 MB, free: 3.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.3674, allocations: 5.188 kB / 413 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.3675, allocations: 13.81 kB / 413 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.3675, allocations: 8 kB / 413 MB, free: 3.469 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.803e-05/0.3676, allocations: 99.12 kB / 413.1 MB, free: 3.387 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3676, allocations: 0 / 413.1 MB, free: 3.387 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.3679, allocations: 29.84 kB / 413.1 MB, free: 3.383 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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.0004717/0.3683, allocations: 0.8316 MB / 413.9 MB, free: 2.617 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000355/0.3687, allocations: 223 kB / 414.2 MB, free: 2.469 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3687, allocations: 0 / 414.2 MB, free: 2.469 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.3689, allocations: 167.5 kB / 414.3 MB, free: 2.34 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.3693, allocations: 29.12 kB / 414.3 MB, free: 2.324 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.3711, allocations: 1.904 MB / 416.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.3713, allocations: 0.7057 MB / 417 MB, free: 16 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.644e-05/0.3713, allocations: 16.84 kB / 417 MB, free: 8 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.547e-05/0.3714, allocations: 29.09 kB / 417 MB, free: 15.99 MB / 302.1 MB Notification: Performance of SimCode: time 2.384e-06/0.3714, allocations: 0 / 417 MB, free: 15.99 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.3861, allocations: 2.677 MB / 419.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/0.3864, allocations: 284 kB / 420 MB, free: 15.39 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.27, allocations: 0 / 420 MB, free: 15.39 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)