Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",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.0008849/0.000885, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009507/0.000951, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002987/0.002987, allocations: 0.5613 MB / 291.6 MB, free: 1.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003335, allocations: 8 kB / 352.8 MB, free: 2.727 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1357, allocations: 50.57 MB / 403.4 MB, free: 116 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.2369/0.3726, allocations: 1.314 MB / 404.7 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002919/0.3729, allocations: 91.25 kB / 404.8 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.373, allocations: 4.281 kB / 404.8 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.373, allocations: 10.69 kB / 404.8 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.3732, allocations: 26.28 kB / 404.8 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.3733, allocations: 20.52 kB / 404.8 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.3735, allocations: 100 kB / 404.9 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.3736, allocations: 35.27 kB / 404.9 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.8e-05/0.3737, allocations: 31.3 kB / 405 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.883e-05/0.3738, allocations: 40.94 kB / 405 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.3738, allocations: 8.656 kB / 405 MB, free: 9.711 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.647e-05/0.3739, allocations: 4.844 kB / 405 MB, free: 9.711 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.3739, allocations: 13.86 kB / 405 MB, free: 9.711 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.724e-05/0.3739, allocations: 42.86 kB / 405.1 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.3741, allocations: 84.67 kB / 405.2 MB, free: 9.664 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.3741, allocations: 2.328 kB / 405.2 MB, free: 9.664 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3741, allocations: 0 / 405.2 MB, free: 9.664 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3741, allocations: 0.9688 kB / 405.2 MB, free: 9.664 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.000431/0.3746, allocations: 382.2 kB / 405.5 MB, free: 9.289 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.3746, allocations: 9.797 kB / 405.6 MB, free: 9.289 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.3747, allocations: 48.91 kB / 405.6 MB, free: 9.242 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.3747, allocations: 13.97 kB / 405.6 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.3749, allocations: 187 kB / 405.8 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.3749, allocations: 5.844 kB / 405.8 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.3749, allocations: 9.922 kB / 405.8 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.3752, allocations: 92.55 kB / 405.9 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.3752, allocations: 2.875 kB / 405.9 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3752, allocations: 3.812 kB / 405.9 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.3752, allocations: 6.016 kB / 405.9 MB, free: 8.992 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.3754, allocations: 57 kB / 406 MB, free: 8.992 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.376, allocations: 391.6 kB / 406.4 MB, free: 8.707 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.3762, allocations: 101 kB / 406.5 MB, free: 8.668 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.3763, allocations: 32.42 kB / 406.5 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.3763, allocations: 1.094 kB / 406.5 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3764, allocations: 41.27 kB / 406.5 MB, free: 8.605 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.3764, allocations: 224 / 406.5 MB, free: 8.605 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001191/0.3776, allocations: 0.6821 MB / 407.2 MB, free: 8.027 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.3776, allocations: 54.19 kB / 407.3 MB, free: 7.965 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3777, allocations: 123.4 kB / 407.4 MB, free: 7.855 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.3778, allocations: 30.8 kB / 407.4 MB, free: 7.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.3778, allocations: 94.78 kB / 407.5 MB, free: 7.727 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.175e-05/0.3779, allocations: 59.88 kB / 407.6 MB, free: 7.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.3779, allocations: 8.938 kB / 407.6 MB, free: 7.672 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.378, allocations: 320.3 kB / 407.9 MB, free: 7.355 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.558e-05/0.3781, allocations: 39 kB / 407.9 MB, free: 7.34 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.922e-05/0.3782, allocations: 63.3 kB / 408 MB, free: 7.297 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: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.s = $START.mass1.s ($START.mass2.s + (-0.5) * (mass2.L + mass1.L) = $START.mass1.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006659/0.3789, allocations: 313.1 kB / 408.3 MB, free: 7.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3789, allocations: 4 kB / 408.3 MB, free: 7.066 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000294/0.3792, allocations: 169.6 kB / 408.5 MB, free: 6.973 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3792, allocations: 8.297 kB / 408.5 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3792, allocations: 0.875 kB / 408.5 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.3794, allocations: 31.44 kB / 408.5 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3795, allocations: 29.44 kB / 408.5 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.3806, allocations: 1.446 MB / 410 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.277e-05/0.3807, allocations: 6.25 kB / 410 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.3807, allocations: 8.312 kB / 410 MB, free: 5.508 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: mass2.v = $START.mass2.v mass1.s = $START.mass1.s. 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.3808, allocations: 134.8 kB / 410.1 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.3809, allocations: 9.219 kB / 410.1 MB, free: 5.371 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.613e-05/0.3809, allocations: 16.44 kB / 410.1 MB, free: 5.355 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3809, allocations: 4.953 kB / 410.2 MB, free: 5.352 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.381, allocations: 1.094 kB / 410.2 MB, free: 5.352 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.381, allocations: 2.625 kB / 410.2 MB, free: 5.352 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.0006441/0.3816, allocations: 0.5962 MB / 410.8 MB, free: 4.805 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3816, allocations: 1.75 kB / 410.8 MB, free: 4.805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.3818, allocations: 28.56 kB / 410.8 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.819e-05/0.3818, allocations: 24.09 kB / 410.8 MB, free: 4.785 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.3819, allocations: 2.062 kB / 410.8 MB, free: 4.785 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006343/0.3825, allocations: 1.274 MB / 412.1 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3825, allocations: 1.938 kB / 412.1 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.3828, allocations: 296.8 kB / 412.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.3829, allocations: 90.23 kB / 412.5 MB, free: 3.152 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.3829, allocations: 5.484 kB / 412.5 MB, free: 3.148 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.383, allocations: 4.781 kB / 412.5 MB, free: 3.145 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.383, allocations: 10.42 kB / 412.5 MB, free: 3.145 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.383, allocations: 5.422 kB / 412.5 MB, free: 3.145 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.124e-05/0.3831, allocations: 105.5 kB / 412.6 MB, free: 3.055 MB / 286.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3831, allocations: 0 / 412.6 MB, free: 3.055 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003247/0.3834, allocations: 28.66 kB / 412.6 MB, free: 3.051 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005798/0.384, allocations: 0.839 MB / 413.5 MB, free: 2.281 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005549/0.3846, allocations: 221.5 kB / 413.7 MB, free: 2.137 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.3846, allocations: 0 / 413.7 MB, free: 2.137 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.3848, allocations: 170.3 kB / 413.8 MB, free: 2.004 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.3853, allocations: 20.42 kB / 413.9 MB, free: 1.996 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.3871, allocations: 0.921 MB / 414.8 MB, free: 1.316 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.3874, allocations: 0.7087 MB / 415.5 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.832e-05/0.3875, allocations: 9.094 kB / 415.5 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.3875, allocations: 33.09 kB / 415.5 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of SimCode: time 2.024e-06/0.3875, allocations: 0 / 415.5 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.4037, allocations: 2.647 MB / 418.2 MB, free: 388 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/0.4039, allocations: 263.5 kB / 418.4 MB, free: 24 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.384, allocations: 1.344 kB / 418.4 MB, free: 24 kB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)