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.001311/0.001311, allocations: 108 kB / 15.6 MB, free: 132 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.001428/0.001429, allocations: 193 kB / 16.53 MB, free: 6.391 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.246 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.002972/0.002972, allocations: 0.5663 MB / 291 MB, free: 1.559 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 63.89 kB / 351.7 MB, free: 2.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09804/0.09989, allocations: 49.59 MB / 401.3 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.1605/0.2605, allocations: 1.642 MB / 402.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002679/0.2608, allocations: 93.23 kB / 403 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.2608, allocations: 5.344 kB / 403 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.877e-05/0.261, allocations: 13.98 kB / 403 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.835e-05/0.2611, allocations: 32.67 kB / 403 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.2612, allocations: 24.31 kB / 403.1 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.2613, allocations: 108.2 kB / 403.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.2615, allocations: 30.19 kB / 403.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.155e-05/0.2616, allocations: 41.88 kB / 403.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.275e-05/0.2617, allocations: 46.36 kB / 403.3 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.2617, allocations: 8.188 kB / 403.3 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.566e-05/0.2617, allocations: 12.25 kB / 403.3 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.2618, allocations: 21.39 kB / 403.3 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.814e-05/0.2618, allocations: 44.48 kB / 403.4 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.262, allocations: 113 kB / 403.5 MB, free: 9.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.262, allocations: 0.7812 kB / 403.5 MB, free: 9.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.262, allocations: 0 / 403.5 MB, free: 9.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.262, allocations: 0.625 kB / 403.5 MB, free: 9.77 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.0004942/0.2625, allocations: 398.7 kB / 403.9 MB, free: 9.379 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.232e-05/0.2626, allocations: 9.969 kB / 403.9 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.584e-05/0.2627, allocations: 43.53 kB / 403.9 MB, free: 9.332 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.2627, allocations: 14.78 kB / 403.9 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.2628, allocations: 185.3 kB / 404.1 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.2629, allocations: 8.594 kB / 404.1 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.2629, allocations: 15.5 kB / 404.1 MB, free: 9.105 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.2631, allocations: 90.67 kB / 404.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.2631, allocations: 1.672 kB / 404.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.2631, allocations: 4.531 kB / 404.2 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2632, allocations: 2.344 kB / 404.2 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.2633, allocations: 56.8 kB / 404.3 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.2638, allocations: 396.9 kB / 404.7 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.2639, allocations: 106.7 kB / 404.8 MB, free: 8.633 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.298e-05/0.264, allocations: 41.28 kB / 404.8 MB, free: 8.613 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.264, allocations: 5.219 kB / 404.8 MB, free: 8.609 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.2641, allocations: 36.56 kB / 404.9 MB, free: 8.566 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.2641, allocations: 1.188 kB / 404.9 MB, free: 8.566 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009539/0.265, allocations: 0.6848 MB / 405.6 MB, free: 7.984 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.2651, allocations: 53.5 kB / 405.6 MB, free: 7.922 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.205e-05/0.2651, allocations: 125.6 kB / 405.7 MB, free: 7.812 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.2652, allocations: 29.7 kB / 405.8 MB, free: 7.777 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.2652, allocations: 99.14 kB / 405.9 MB, free: 7.684 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.2652, allocations: 58.7 kB / 405.9 MB, free: 7.637 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.2653, allocations: 34.39 kB / 405.9 MB, free: 7.609 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.2653, allocations: 320.6 kB / 406.3 MB, free: 7.293 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.578e-05/0.2654, allocations: 41.11 kB / 406.3 MB, free: 7.273 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.506e-05/0.2655, allocations: 60.59 kB / 406.4 MB, free: 7.234 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.2656, allocations: 100.8 kB / 406.5 MB, free: 7.172 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2656, allocations: 0 / 406.5 MB, free: 7.172 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001741/0.2658, allocations: 151.1 kB / 406.6 MB, free: 7.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2658, allocations: 7.5 kB / 406.6 MB, free: 7.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2658, allocations: 5.375 kB / 406.6 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2658, allocations: 1.219 kB / 406.6 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.266, allocations: 39.12 kB / 406.7 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.266, allocations: 1.969 kB / 406.7 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/0.2661, allocations: 1.156 kB / 406.7 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.2661, allocations: 8.875 kB / 406.7 MB, free: 7.078 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 5.799e-05/0.2662, allocations: 126.5 kB / 406.8 MB, free: 6.949 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.2662, allocations: 12.72 kB / 406.8 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.2662, allocations: 17.62 kB / 406.8 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2663, allocations: 6.344 kB / 406.8 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2663, allocations: 1 kB / 406.8 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2663, allocations: 0 / 406.8 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.2668, allocations: 0.4923 MB / 407.3 MB, free: 6.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2668, allocations: 1.938 kB / 407.3 MB, free: 6.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.2669, allocations: 28.52 kB / 407.3 MB, free: 6.496 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.2671, allocations: 20.91 kB / 407.4 MB, free: 6.484 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.2671, allocations: 2.281 kB / 407.4 MB, free: 6.484 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006702/0.2678, allocations: 1.371 MB / 408.7 MB, free: 5.07 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2678, allocations: 1.125 kB / 408.7 MB, free: 5.07 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.2681, allocations: 306.9 kB / 409 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.2681, allocations: 88.17 kB / 409.1 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.2681, allocations: 7.156 kB / 409.1 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.2682, allocations: 0 / 409.1 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.2682, allocations: 20.23 kB / 409.2 MB, free: 4.727 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.2682, allocations: 4.031 kB / 409.2 MB, free: 4.727 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.11e-05/0.2683, allocations: 95.44 kB / 409.3 MB, free: 4.648 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2683, allocations: 0 / 409.3 MB, free: 4.648 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.2686, allocations: 27.72 kB / 409.3 MB, free: 4.645 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.0004789/0.2691, allocations: 0.8346 MB / 410.1 MB, free: 3.883 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.2693, allocations: 103.7 kB / 410.2 MB, free: 3.848 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2693, allocations: 0 / 410.2 MB, free: 3.848 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.2695, allocations: 179.7 kB / 410.4 MB, free: 3.711 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.2699, allocations: 25.44 kB / 410.4 MB, free: 3.699 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.2714, allocations: 1.78 MB / 412.2 MB, free: 2.164 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.2716, allocations: 0.7033 MB / 412.9 MB, free: 1.469 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.501e-05/0.2716, allocations: 10.16 kB / 412.9 MB, free: 1.469 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.2717, allocations: 32.83 kB / 412.9 MB, free: 1.445 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2717, allocations: 0 / 412.9 MB, free: 1.445 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.3004, allocations: 2.844 MB / 415.8 MB, free: 1.02 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.899/10.2, allocations: 13.12 kB / 415.8 MB, free: 1.012 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)