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.001362/0.001362, 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.00136/0.00136, allocations: 192.6 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.53/1.53, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.003324/0.003324, allocations: 0.5546 MB / 291 MB, free: 1.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 59.91 kB / 351.7 MB, free: 2.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09902/0.101, allocations: 49.61 MB / 401.3 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001956/0.103, allocations: 0.5029 MB / 401.8 MB, free: 44 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002003/0.1032, allocations: 23.89 kB / 401.8 MB, free: 20 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/0.1032, allocations: 0 / 401.8 MB, free: 20 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.1033, allocations: 7.938 kB / 401.8 MB, free: 12 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.112e-05/0.1033, allocations: 4 kB / 401.8 MB, free: 8 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.1035, allocations: 0 / 401.8 MB, free: 8 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.2048/0.3082, allocations: 16.31 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.753e-05/0.3084, allocations: 3.406 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.709e-05/0.3084, allocations: 15.03 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.673e-05/0.3085, allocations: 5.781 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.3085, allocations: 5.031 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.3085, allocations: 2.188 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.3085, allocations: 5.094 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.3086, allocations: 11.5 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.103e-05/0.3086, allocations: 16.52 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3086, allocations: 0 / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3087, allocations: 0.6562 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3087, allocations: 0 / 401.9 MB, free: 10.35 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.0003209/0.309, allocations: 334 kB / 402.2 MB, free: 9.996 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.309, allocations: 13.91 kB / 402.2 MB, free: 9.992 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.719e-05/0.3091, allocations: 35.12 kB / 402.3 MB, free: 9.953 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.3091, allocations: 9.406 kB / 402.3 MB, free: 9.953 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.523e-05/0.3092, allocations: 163.1 kB / 402.4 MB, free: 9.758 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.3092, allocations: 5.844 kB / 402.4 MB, free: 9.758 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.3092, allocations: 6.438 kB / 402.4 MB, free: 9.758 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.3094, allocations: 47.66 kB / 402.5 MB, free: 9.727 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3094, allocations: 4.844 kB / 402.5 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.3094, allocations: 0.75 kB / 402.5 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.3094, allocations: 1.219 kB / 402.5 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.219e-05/0.3094, allocations: 15.55 kB / 402.5 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.3098, allocations: 301.8 kB / 402.8 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.3099, allocations: 50.06 kB / 402.8 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.3099, allocations: 14.23 kB / 402.9 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.3099, allocations: 0.5625 kB / 402.9 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.3099, allocations: 31.72 kB / 402.9 MB, free: 9.344 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3099, allocations: 0 / 402.9 MB, free: 9.344 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003621/0.3103, allocations: 159.2 kB / 403.1 MB, free: 9.211 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.3103, allocations: 53.53 kB / 403.1 MB, free: 9.148 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.076e-05/0.3104, allocations: 102.5 kB / 403.2 MB, free: 9.047 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.3104, allocations: 26.83 kB / 403.2 MB, free: 9.016 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.3104, allocations: 91.08 kB / 403.3 MB, free: 8.93 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.3104, allocations: 13.55 kB / 403.3 MB, free: 8.922 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.3105, allocations: 18.72 kB / 403.3 MB, free: 8.906 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.749e-05/0.3105, allocations: 320.3 kB / 403.7 MB, free: 8.59 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.3105, allocations: 8.656 kB / 403.7 MB, free: 8.59 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/0.3106, allocations: 29.75 kB / 403.7 MB, free: 8.566 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.713e-05/0.3106, allocations: 30.06 kB / 403.7 MB, free: 8.551 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3106, allocations: 3.906 kB / 403.7 MB, free: 8.551 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.259e-05/0.3107, allocations: 55.45 kB / 403.8 MB, free: 8.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3107, allocations: 8.297 kB / 403.8 MB, free: 8.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3108, allocations: 0.5 kB / 403.8 MB, free: 8.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3108, allocations: 1.625 kB / 403.8 MB, free: 8.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.3109, allocations: 16.19 kB / 403.8 MB, free: 8.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3109, allocations: 5.484 kB / 403.8 MB, free: 8.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.3109, allocations: 5.297 kB / 403.8 MB, free: 8.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.3109, allocations: 1.531 kB / 403.8 MB, free: 8.516 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.349e-05/0.311, allocations: 120.2 kB / 403.9 MB, free: 8.395 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.311, allocations: 5.844 kB / 403.9 MB, free: 8.391 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.311, allocations: 8.922 kB / 404 MB, free: 8.375 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.311, allocations: 1.812 kB / 404 MB, free: 8.375 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3111, allocations: 0.9375 kB / 404 MB, free: 8.375 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3111, allocations: 0.75 kB / 404 MB, free: 8.375 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.3112, allocations: 171 kB / 404.1 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3112, allocations: 0.875 kB / 404.1 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.719e-05/0.3112, allocations: 3.672 kB / 404.1 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001331/0.3114, allocations: 19 kB / 404.2 MB, free: 8.168 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3114, allocations: 4.625 kB / 404.2 MB, free: 8.168 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006429/0.312, allocations: 1.339 MB / 405.5 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3121, allocations: 1.844 kB / 405.5 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.3122, allocations: 183.3 kB / 405.7 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.3122, allocations: 79.27 kB / 405.8 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.3123, allocations: 3.125 kB / 405.8 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.762e-05/0.3123, allocations: 0 / 405.8 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.3123, allocations: 3.297 kB / 405.8 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.3123, allocations: 1.688 kB / 405.8 MB, free: 6.578 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.06e-05/0.3124, allocations: 81.59 kB / 405.8 MB, free: 6.504 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3124, allocations: 1.281 kB / 405.8 MB, free: 6.504 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.3126, allocations: 8.312 kB / 405.8 MB, free: 6.5 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.0003039/0.3129, allocations: 0.7109 MB / 406.6 MB, free: 5.82 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.904e-05/0.313, allocations: 29.67 kB / 406.6 MB, free: 5.816 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.313, allocations: 4.625 kB / 406.6 MB, free: 5.812 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.3132, allocations: 129.2 kB / 406.7 MB, free: 5.699 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.3134, allocations: 6.375 kB / 406.7 MB, free: 5.699 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007166/0.3141, allocations: 1.24 MB / 408 MB, free: 4.527 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.386e-05/0.3142, allocations: 0.6806 MB / 408.6 MB, free: 3.832 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.48e-05/0.3143, allocations: 6.422 kB / 408.7 MB, free: 3.828 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.3143, allocations: 16.72 kB / 408.7 MB, free: 3.816 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3143, allocations: 0 / 408.7 MB, free: 3.816 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/0.3414, allocations: 1.441 MB / 410.1 MB, free: 3.484 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.496/9.838, allocations: 10.64 kB / 410.1 MB, free: 3.48 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)