Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",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.001355/0.001355, 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.001481/0.001481, allocations: 194.9 kB / 16.53 MB, free: 6.699 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.439/1.439, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.003094/0.003094, allocations: 0.5698 MB / 291 MB, free: 1.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 63.89 kB / 351.7 MB, free: 2.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09555/0.09742, allocations: 49.59 MB / 401.2 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.1697/0.2672, allocations: 1.649 MB / 402.9 MB, free: 9.625 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003791/0.2676, allocations: 94.36 kB / 403 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.969e-05/0.2677, allocations: 4.594 kB / 403 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.664e-05/0.2678, allocations: 13.94 kB / 403 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.268, allocations: 27.94 kB / 403 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.2682, allocations: 26.2 kB / 403.1 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.2683, allocations: 107.6 kB / 403.2 MB, free: 9.527 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.2685, allocations: 28.83 kB / 403.2 MB, free: 9.527 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.524e-05/0.2686, allocations: 43.86 kB / 403.2 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.2688, allocations: 47.48 kB / 403.3 MB, free: 9.504 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.2688, allocations: 8.844 kB / 403.3 MB, free: 9.504 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.328e-05/0.2689, allocations: 7.938 kB / 403.3 MB, free: 9.504 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.421e-05/0.2689, allocations: 23.64 kB / 403.3 MB, free: 9.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.415e-05/0.269, allocations: 51.44 kB / 403.4 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.2692, allocations: 109.5 kB / 403.5 MB, free: 9.465 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2693, allocations: 0 / 403.5 MB, free: 9.465 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2693, allocations: 0 / 403.5 MB, free: 9.465 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2693, allocations: 0 / 403.5 MB, free: 9.465 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.0006016/0.2699, allocations: 396.6 kB / 403.9 MB, free: 9.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.27, allocations: 11.03 kB / 403.9 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.867e-05/0.27, allocations: 39.38 kB / 403.9 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.2701, allocations: 22.31 kB / 403.9 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.2703, allocations: 184.4 kB / 404.1 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2703, allocations: 6.469 kB / 404.1 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.2704, allocations: 14.88 kB / 404.1 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.2707, allocations: 95.11 kB / 404.2 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.2707, allocations: 0.5312 kB / 404.2 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.2708, allocations: 7.875 kB / 404.2 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.2708, allocations: 2.969 kB / 404.2 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.271, allocations: 59.91 kB / 404.3 MB, free: 8.789 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007241/0.2717, allocations: 388.1 kB / 404.7 MB, free: 8.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.272, allocations: 107.8 kB / 404.8 MB, free: 8.473 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.2721, allocations: 37.02 kB / 404.8 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.2722, allocations: 1.469 kB / 404.8 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.2722, allocations: 38.38 kB / 404.9 MB, free: 8.422 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 2.064e-06/0.2722, allocations: 1.406 kB / 404.9 MB, free: 8.422 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001576/0.2738, allocations: 0.6806 MB / 405.5 MB, free: 7.879 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.2738, allocations: 58.14 kB / 405.6 MB, free: 7.812 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.274, allocations: 128.6 kB / 405.7 MB, free: 7.699 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.274, allocations: 29.7 kB / 405.8 MB, free: 7.664 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.2741, allocations: 98.84 kB / 405.9 MB, free: 7.57 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/0.2742, allocations: 55.31 kB / 405.9 MB, free: 7.527 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.76e-05/0.2742, allocations: 34.58 kB / 405.9 MB, free: 7.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.2743, allocations: 320.2 kB / 406.3 MB, free: 7.184 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.2744, allocations: 37.78 kB / 406.3 MB, free: 7.168 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.2746, allocations: 57.75 kB / 406.3 MB, free: 7.129 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.2748, allocations: 103.9 kB / 406.4 MB, free: 7.062 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2748, allocations: 2.125 kB / 406.4 MB, free: 7.062 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003174/0.2752, allocations: 144.7 kB / 406.6 MB, free: 6.984 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.2752, allocations: 6.562 kB / 406.6 MB, free: 6.984 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2752, allocations: 2.312 kB / 406.6 MB, free: 6.984 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.2753, allocations: 1.406 kB / 406.6 MB, free: 6.984 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.2756, allocations: 46.88 kB / 406.6 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.2756, allocations: 5.641 kB / 406.7 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.026e-05/0.2757, allocations: 1.219 kB / 406.7 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.2757, allocations: 8.188 kB / 406.7 MB, free: 6.965 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 (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 9.48e-05/0.2758, allocations: 123.8 kB / 406.8 MB, free: 6.84 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.2759, allocations: 13.19 kB / 406.8 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.652e-05/0.2759, allocations: 15.44 kB / 406.8 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.276, allocations: 2.031 kB / 406.8 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.276, allocations: 5.797 kB / 406.8 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.276, allocations: 0.75 kB / 406.8 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008463/0.2769, allocations: 0.4925 MB / 407.3 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2769, allocations: 7.438 kB / 407.3 MB, free: 6.391 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.2771, allocations: 29.11 kB / 407.3 MB, free: 6.387 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001425/0.2773, allocations: 20.59 kB / 407.4 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.2773, allocations: 2.062 kB / 407.4 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.2784, allocations: 1.371 MB / 408.7 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.2784, allocations: 3.031 kB / 408.7 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.2789, allocations: 306.1 kB / 409 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.2789, allocations: 85.34 kB / 409.1 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.279, allocations: 4.562 kB / 409.1 MB, free: 4.629 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.2791, allocations: 2.625 kB / 409.1 MB, free: 4.629 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.2792, allocations: 21 kB / 409.2 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.2792, allocations: 4.031 kB / 409.2 MB, free: 4.617 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.192e-05/0.2793, allocations: 94.88 kB / 409.2 MB, free: 4.539 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.2793, allocations: 0 / 409.2 MB, free: 4.539 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00048/0.2798, allocations: 27.53 kB / 409.3 MB, free: 4.535 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.0006789/0.2805, allocations: 0.8352 MB / 410.1 MB, free: 3.773 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.2808, allocations: 100.2 kB / 410.2 MB, free: 3.742 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2808, allocations: 1.125 kB / 410.2 MB, free: 3.742 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.2811, allocations: 173.1 kB / 410.4 MB, free: 3.605 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.2817, allocations: 33.8 kB / 410.4 MB, free: 3.594 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.2836, allocations: 1.78 MB / 412.2 MB, free: 2.062 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.2838, allocations: 0.705 MB / 412.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.98e-05/0.2838, allocations: 10.05 kB / 412.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.688e-05/0.2839, allocations: 32.62 kB / 412.9 MB, free: 1.344 MB / 286.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2839, allocations: 4 kB / 412.9 MB, free: 1.34 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.3144, allocations: 2.836 MB / 415.8 MB, free: 0.918 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/10.39, allocations: 16.62 kB / 415.8 MB, free: 0.9062 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)