Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",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.00149/0.00149, 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.001829/0.001829, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.002842/0.002842, allocations: 0.566 MB / 291 MB, free: 1.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.89 kB / 351.6 MB, free: 2.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0885/0.08996, allocations: 49.6 MB / 401.3 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001713/0.09172, allocations: 0.5106 MB / 401.8 MB, free: 64 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001533/0.0919, allocations: 19.91 kB / 401.8 MB, free: 44 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.09194, allocations: 4 kB / 401.8 MB, free: 40 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.09196, allocations: 0 / 401.8 MB, free: 40 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.756e-05/0.092, allocations: 7.938 kB / 401.8 MB, free: 32 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.09212, allocations: 7.984 kB / 401.8 MB, free: 24 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.667e-05/0.09217, allocations: 11.98 kB / 401.8 MB, free: 12 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.996e-05/0.09222, allocations: 7.984 kB / 401.8 MB, free: 4 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1418/0.234, allocations: 9.078 kB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.2342, allocations: 8.469 kB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.2342, allocations: 1.062 kB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.2342, allocations: 2.281 kB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.2342, allocations: 6.594 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.2343, allocations: 8.812 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.509e-05/0.2343, allocations: 15.97 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2343, allocations: 1.469 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2343, allocations: 0 / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.2344, allocations: 0 / 401.9 MB, free: 10.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003487/0.2347, allocations: 334.4 kB / 402.2 MB, free: 9.992 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2348, allocations: 17.73 kB / 402.2 MB, free: 9.984 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.877e-05/0.2348, allocations: 39.98 kB / 402.3 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.2348, allocations: 5.344 kB / 402.3 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.831e-05/0.2349, allocations: 166.4 kB / 402.4 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.2349, allocations: 2.672 kB / 402.4 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.235, allocations: 6.406 kB / 402.4 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.2351, allocations: 41.69 kB / 402.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2351, allocations: 5.391 kB / 402.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.2351, allocations: 4.5 kB / 402.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2351, allocations: 1.625 kB / 402.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.529e-05/0.2352, allocations: 11.91 kB / 402.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.2355, allocations: 301 kB / 402.8 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.572e-05/0.2356, allocations: 41.47 kB / 402.8 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.627e-05/0.2356, allocations: 14.11 kB / 402.8 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.2356, allocations: 0.6562 kB / 402.8 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.2356, allocations: 40.48 kB / 402.9 MB, free: 9.34 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.2356, allocations: 0 / 402.9 MB, free: 9.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003663/0.236, allocations: 159 kB / 403 MB, free: 9.207 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.2361, allocations: 53.19 kB / 403.1 MB, free: 9.145 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.066e-05/0.2361, allocations: 102.4 kB / 403.2 MB, free: 9.047 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.2361, allocations: 30.05 kB / 403.2 MB, free: 9.016 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.2362, allocations: 90.12 kB / 403.3 MB, free: 8.926 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.2362, allocations: 18.67 kB / 403.3 MB, free: 8.914 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.2362, allocations: 18.5 kB / 403.3 MB, free: 8.898 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.704e-05/0.2363, allocations: 317.1 kB / 403.7 MB, free: 8.582 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.2363, allocations: 9.656 kB / 403.7 MB, free: 8.582 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.74e-05/0.2363, allocations: 21.36 kB / 403.7 MB, free: 8.566 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.714e-05/0.2364, allocations: 33.66 kB / 403.7 MB, free: 8.551 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2364, allocations: 4 kB / 403.7 MB, free: 8.547 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.073e-05/0.2365, allocations: 61.94 kB / 403.8 MB, free: 8.516 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2365, allocations: 9.422 kB / 403.8 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2365, allocations: 0.7188 kB / 403.8 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2365, allocations: 1.656 kB / 403.8 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.001e-05/0.2366, allocations: 14.28 kB / 403.8 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.2366, allocations: 2.688 kB / 403.8 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.2367, allocations: 5.031 kB / 403.8 MB, free: 8.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.2367, allocations: 2.031 kB / 403.8 MB, free: 8.508 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 4.43e-05/0.2367, allocations: 124.4 kB / 403.9 MB, free: 8.383 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.2368, allocations: 6.281 kB / 403.9 MB, free: 8.379 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.2368, allocations: 8.375 kB / 404 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2368, allocations: 0.8125 kB / 404 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.2368, allocations: 0.875 kB / 404 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2368, allocations: 0.5625 kB / 404 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.2369, allocations: 159.3 kB / 404.1 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2369, allocations: 0.5625 kB / 404.1 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.237, allocations: 8.344 kB / 404.1 MB, free: 8.172 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001266/0.2371, allocations: 23.3 kB / 404.1 MB, free: 8.16 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.2371, allocations: 4.5 kB / 404.2 MB, free: 8.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006299/0.2378, allocations: 1.348 MB / 405.5 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2378, allocations: 0 / 405.5 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.2379, allocations: 174 kB / 405.7 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.2379, allocations: 79.02 kB / 405.7 MB, free: 6.566 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.238, allocations: 5.438 kB / 405.8 MB, free: 6.562 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.722e-05/0.238, allocations: 4.531 kB / 405.8 MB, free: 6.562 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.238, allocations: 3.031 kB / 405.8 MB, free: 6.562 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.238, allocations: 2.031 kB / 405.8 MB, free: 6.562 MB / 286.1 MB Notification: Performance of sorting global known variables: time 1.787e-05/0.2381, allocations: 83.56 kB / 405.8 MB, free: 6.484 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2381, allocations: 0 / 405.8 MB, free: 6.484 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000222/0.2383, allocations: 8.625 kB / 405.8 MB, free: 6.484 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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.000304/0.2386, allocations: 0.704 MB / 406.6 MB, free: 5.809 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.027e-05/0.2387, allocations: 26.27 kB / 406.6 MB, free: 5.805 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2387, allocations: 0 / 406.6 MB, free: 5.805 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.2389, allocations: 127.8 kB / 406.7 MB, free: 5.695 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.2391, allocations: 2.359 kB / 406.7 MB, free: 5.695 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.2398, allocations: 1.256 MB / 408 MB, free: 4.512 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.2399, allocations: 0.6807 MB / 408.6 MB, free: 3.816 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.665e-05/0.2399, allocations: 2.094 kB / 408.6 MB, free: 3.816 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.24, allocations: 13.09 kB / 408.7 MB, free: 3.809 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.24, allocations: 3.938 kB / 408.7 MB, free: 3.805 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.2594, allocations: 1.447 MB / 410.1 MB, free: 3.469 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.157/9.417, allocations: 15.27 kB / 410.1 MB, free: 3.461 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)