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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 101.6 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 208.9 kB / 19.42 MB, free: 3.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.373/1.373, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.002919/0.002919, allocations: 0.5741 MB / 309.4 MB, free: 3.68 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 63.91 kB / 430 MB, free: 18.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09067/0.09256, allocations: 53.49 MB / 483.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001552/0.09411, allocations: 0.5048 MB / 484 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000148/0.09426, allocations: 34.52 kB / 484 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.09428, allocations: 0 / 484 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.203e-05/0.0943, allocations: 0 / 484 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.932e-05/0.09432, allocations: 3.938 kB / 484 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.09443, allocations: 11.98 kB / 484 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.006e-05/0.09449, allocations: 19.97 kB / 484 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.09453, allocations: 0 / 484 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.375e-05/0.09456, allocations: 11.94 kB / 484.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.09462, allocations: 11.92 kB / 484.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.09463, allocations: 7.875 kB / 484.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.665e-06/0.09464, allocations: 0 / 484.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.09465, allocations: 4 kB / 484.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.09468, allocations: 15.92 kB / 484.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.92e-05/0.09474, allocations: 12.14 kB / 484.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.09475, allocations: 4 kB / 484.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09475, allocations: 4 kB / 484.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.09475, allocations: 0 / 484.1 MB, free: 12.35 MB / 350.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.0004169/0.09517, allocations: 335.5 kB / 484.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.09521, allocations: 12.03 kB / 484.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.09525, allocations: 30.75 kB / 484.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.09528, allocations: 4.938 kB / 484.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.0954, allocations: 160.4 kB / 484.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.09541, allocations: 384 / 484.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.09543, allocations: 12.38 kB / 484.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.09555, allocations: 46.25 kB / 484.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.09556, allocations: 7.922 kB / 484.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.09557, allocations: 3.938 kB / 484.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.09558, allocations: 4 kB / 484.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.695e-05/0.09562, allocations: 8 kB / 484.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.09602, allocations: 298.5 kB / 485 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.56e-05/0.09612, allocations: 42.56 kB / 485.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.09615, allocations: 16.8 kB / 485.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.09616, allocations: 0 / 485.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.09619, allocations: 34.64 kB / 485.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.09619, allocations: 0 / 485.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003963/0.09659, allocations: 155.8 kB / 485.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.09664, allocations: 63.34 kB / 485.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.09672, allocations: 97.84 kB / 485.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.09674, allocations: 33.64 kB / 485.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.0968, allocations: 88.08 kB / 485.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.09683, allocations: 15.89 kB / 485.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.09687, allocations: 21.72 kB / 485.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.09701, allocations: 315.2 kB / 485.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.09703, allocations: 8 kB / 485.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.56e-05/0.09707, allocations: 29.7 kB / 485.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.147e-05/0.09713, allocations: 29.72 kB / 486 MB, free: 10.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.09713, allocations: 0 / 486 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.483e-05/0.09723, allocations: 61.62 kB / 486 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.09724, allocations: 4 kB / 486 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.09724, allocations: 0 / 486 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.09726, allocations: 4 kB / 486 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.09734, allocations: 15.95 kB / 486 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.09735, allocations: 8 kB / 486 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.09737, allocations: 3.953 kB / 486 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.09738, allocations: 0 / 486 MB, free: 10.14 MB / 350.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 8.656e-05/0.09746, allocations: 121.7 kB / 486.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.09749, allocations: 0 / 486.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.09752, allocations: 7.484 kB / 486.2 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.09752, allocations: 4 kB / 486.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.09752, allocations: 0 / 486.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.09753, allocations: 0 / 486.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.09771, allocations: 169.5 kB / 486.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.09771, allocations: 4 kB / 486.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.09775, allocations: 0 / 486.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001341/0.09788, allocations: 16.84 kB / 486.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.09789, allocations: 0 / 486.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.09903, allocations: 1.359 MB / 487.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.09904, allocations: 0 / 487.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.09924, allocations: 184.4 kB / 487.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.09929, allocations: 81.06 kB / 488 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.0993, allocations: 3.984 kB / 488 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.805e-05/0.09934, allocations: 0 / 488 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.09936, allocations: 4.031 kB / 488 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.09936, allocations: 3.938 kB / 488 MB, free: 7.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.868e-05/0.09941, allocations: 83.28 kB / 488.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09941, allocations: 0 / 488.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.09963, allocations: 4 kB / 488.1 MB, free: 7.867 MB / 350.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.0004956/0.1001, allocations: 0.7055 MB / 488.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.204e-05/0.1002, allocations: 19.98 kB / 488.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1002, allocations: 0 / 488.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.1004, allocations: 138.7 kB / 488.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.1006, allocations: 7.984 kB / 488.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.1017, allocations: 1.239 MB / 490.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.102, allocations: 0.6768 MB / 490.9 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.852e-05/0.102, allocations: 4 kB / 490.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.1021, allocations: 11.44 kB / 490.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1021, allocations: 4 kB / 490.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.1285, allocations: 1.503 MB / 492.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.401/9.53, allocations: 18.23 kB / 492.4 MB, free: 3.633 MB / 350.1 MB " [Timeout remaining time 650] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.902079890001914] Failed to read output from testmodel.py, exit status != 0: 9.605861868010834 9.620204411 9.522779977 Calling exit ...