Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.001373/0.001373, allocations: 102.5 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.001547/0.001547, allocations: 206.4 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.419/1.419, allocations: 230.6 MB / 252.8 MB, free: 8.996 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.002868/0.002868, allocations: 0.5795 MB / 309.4 MB, free: 3.715 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.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 68.05 kB / 430 MB, free: 18.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08975/0.0916, allocations: 53.49 MB / 483.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001644/0.09324, allocations: 0.5086 MB / 484 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001656/0.09341, allocations: 38.52 kB / 484 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.09343, allocations: 0 / 484 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.109e-05/0.09344, allocations: 0 / 484 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.271e-05/0.09347, allocations: 7.938 kB / 484 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.09359, allocations: 3.984 kB / 484 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.526e-05/0.09364, allocations: 15.98 kB / 484 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.09368, allocations: 4 kB / 484 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.969e-05/0.0937, allocations: 7.938 kB / 484.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.456e-05/0.09377, allocations: 15.91 kB / 484.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.09378, allocations: 4 kB / 484.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-06/0.09379, allocations: 0 / 484.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.0938, allocations: 0 / 484.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.09383, allocations: 11.94 kB / 484.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.909e-05/0.09389, allocations: 16.14 kB / 484.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.09389, allocations: 4 kB / 484.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09389, allocations: 0 / 484.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.0939, allocations: 0 / 484.1 MB, free: 12.39 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.0003941/0.0943, allocations: 335.5 kB / 484.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.09433, allocations: 8.031 kB / 484.4 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.09437, allocations: 46.69 kB / 484.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.001e-05/0.09439, allocations: 0.9375 kB / 484.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.09452, allocations: 160.4 kB / 484.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.09453, allocations: 4.375 kB / 484.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.09456, allocations: 12.38 kB / 484.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.957e-05/0.09466, allocations: 42.25 kB / 484.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.09467, allocations: 3.938 kB / 484.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.09468, allocations: 3.984 kB / 484.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.09468, allocations: 3.984 kB / 484.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.815e-05/0.09473, allocations: 15.94 kB / 484.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.09513, allocations: 302.5 kB / 485 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.612e-05/0.09522, allocations: 38.56 kB / 485.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.09525, allocations: 12.86 kB / 485.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.09526, allocations: 7.938 kB / 485.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.09529, allocations: 30.56 kB / 485.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.09529, allocations: 3.938 kB / 485.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003916/0.09568, allocations: 155.7 kB / 485.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.09572, allocations: 55.41 kB / 485.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.575e-05/0.0958, allocations: 101.8 kB / 485.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.09581, allocations: 29.64 kB / 485.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.09587, allocations: 84.09 kB / 485.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.09589, allocations: 15.91 kB / 485.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.09593, allocations: 21.7 kB / 485.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.09607, allocations: 315.2 kB / 485.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/0.09609, allocations: 15.94 kB / 485.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/0.09613, allocations: 25.7 kB / 485.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.525e-05/0.09619, allocations: 29.72 kB / 485.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.09619, allocations: 0 / 485.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001444/0.09633, allocations: 74.47 kB / 486 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.09635, allocations: 8 kB / 486 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.09635, allocations: 0 / 486 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001248/0.09647, allocations: 16.89 kB / 486 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.344e-05/0.09653, allocations: 7.984 kB / 486.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.09765, allocations: 1.359 MB / 487.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.09767, allocations: 8.031 kB / 487.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.09768, allocations: 0 / 487.4 MB, free: 8.652 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 9.28e-05/0.09777, allocations: 121.7 kB / 487.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.09779, allocations: 3.938 kB / 487.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.843e-05/0.09781, allocations: 7.594 kB / 487.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.09781, allocations: 0 / 487.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.09781, allocations: 0 / 487.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.09782, allocations: 4 kB / 487.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.098, allocations: 169.5 kB / 487.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.098, allocations: 0 / 487.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.09804, allocations: 4 kB / 487.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.126e-05/0.09811, allocations: 16.84 kB / 487.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.09812, allocations: 0 / 487.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009967/0.09911, allocations: 1.339 MB / 489.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.09911, allocations: 8.094 kB / 489.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.09931, allocations: 168.4 kB / 489.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.09935, allocations: 81.14 kB / 489.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.128e-06/0.09936, allocations: 7.875 kB / 489.3 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.765e-05/0.09941, allocations: 0 / 489.3 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.09943, allocations: 7.984 kB / 489.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.09943, allocations: 3.938 kB / 489.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.282e-05/0.09949, allocations: 95.31 kB / 489.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09949, allocations: 0 / 489.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.09971, allocations: 4 kB / 489.4 MB, free: 6.383 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.0005194/0.1002, allocations: 0.7054 MB / 490.2 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.1005, allocations: 138.7 kB / 490.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1005, allocations: 0 / 490.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.1007, allocations: 122.7 kB / 490.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.1009, allocations: 8 kB / 490.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.1021, allocations: 1.295 MB / 491.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.1024, allocations: 0.6807 MB / 492.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.607e-05/0.1024, allocations: 0 / 492.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.1025, allocations: 11.44 kB / 492.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1025, allocations: 0 / 492.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.1288, allocations: 1.573 MB / 494 MB, free: 1.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.403/9.531, allocations: 22.31 kB / 494 MB, free: 1.898 MB / 350.1 MB " [Timeout remaining time 650] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial_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_TwoMassesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.981490560996463] Failed to read output from testmodel.py, exit status != 0: 9.611339401002624 9.627487898 9.530595963 Calling exit ...