Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.0013/0.0013, allocations: 100.5 kB / 16.45 MB, free: 6.5 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.001512/0.001512, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.472/1.472, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.00281/0.00281, allocations: 0.5598 MB / 309.4 MB, free: 3.703 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.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 63.91 kB / 430 MB, free: 18.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.0955, allocations: 53.48 MB / 483.5 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002871/0.09837, allocations: 1.651 MB / 485.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002648/0.09863, allocations: 95.67 kB / 485.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.116e-05/0.09869, allocations: 4 kB / 485.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.257e-05/0.09874, allocations: 19.8 kB / 485.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.792e-05/0.09884, allocations: 31.77 kB / 485.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.09896, allocations: 27.91 kB / 485.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.0991, allocations: 99.53 kB / 485.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.09923, allocations: 27.97 kB / 485.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.988e-05/0.0993, allocations: 39.92 kB / 485.5 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.281e-05/0.09939, allocations: 43.78 kB / 485.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.09941, allocations: 12 kB / 485.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.842e-05/0.09943, allocations: 8 kB / 485.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.09945, allocations: 19.92 kB / 485.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.237e-05/0.09952, allocations: 55.72 kB / 485.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.0997, allocations: 111.8 kB / 485.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.09971, allocations: 0 / 485.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09971, allocations: 0 / 485.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.09971, allocations: 0 / 485.7 MB, free: 10.75 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005449/0.1003, allocations: 399.3 kB / 486.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1003, allocations: 11.97 kB / 486.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/0.1003, allocations: 42.73 kB / 486.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.1004, allocations: 12.84 kB / 486.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.1006, allocations: 192.2 kB / 486.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1006, allocations: 4.562 kB / 486.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.1006, allocations: 16.33 kB / 486.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.1008, allocations: 96.03 kB / 486.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1008, allocations: 0 / 486.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1008, allocations: 0 / 486.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1008, allocations: 11.94 kB / 486.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.1009, allocations: 59.95 kB / 486.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.1015, allocations: 384.7 kB / 486.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.1017, allocations: 102.4 kB / 487 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.1017, allocations: 28.86 kB / 487 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.1018, allocations: 7.984 kB / 487 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1018, allocations: 42.55 kB / 487.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.1018, allocations: 0 / 487.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00119/0.103, allocations: 0.6877 MB / 487.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.103, allocations: 55.41 kB / 487.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.1031, allocations: 118.9 kB / 487.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1032, allocations: 25.7 kB / 488 MB, free: 8.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.503e-05/0.1032, allocations: 108.3 kB / 488.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.1033, allocations: 59.48 kB / 488.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.1033, allocations: 29.7 kB / 488.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1035, allocations: 326.8 kB / 488.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.664e-05/0.1036, allocations: 24 kB / 488.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.797e-05/0.1036, allocations: 74.48 kB / 488.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.1038, allocations: 94.58 kB / 488.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1038, allocations: 0 / 488.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002927/0.1041, allocations: 166.3 kB / 488.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1041, allocations: 4 kB / 488.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1041, allocations: 8.031 kB / 488.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/0.1042, allocations: 28.84 kB / 488.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1044, allocations: 23.98 kB / 488.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.1058, allocations: 1.615 MB / 490.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.1059, allocations: 3.938 kB / 490.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.1059, allocations: 4.031 kB / 490.5 MB, free: 5.445 MB / 350.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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.106, allocations: 137.7 kB / 490.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.106, allocations: 16.09 kB / 490.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.106, allocations: 16.83 kB / 490.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1061, allocations: 4 kB / 490.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.1061, allocations: 0 / 490.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.1061, allocations: 0 / 490.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006748/0.1067, allocations: 0.5363 MB / 491.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.1067, allocations: 8.094 kB / 491.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.1069, allocations: 35.92 kB / 491.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.817e-05/0.1069, allocations: 20.78 kB / 491.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1069, allocations: 4 kB / 491.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.108, allocations: 1.372 MB / 492.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.108, allocations: 4 kB / 492.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.1084, allocations: 306.8 kB / 493 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.1084, allocations: 85.02 kB / 493.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.1084, allocations: 4 kB / 493.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.1085, allocations: 4 kB / 493.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.1085, allocations: 15.92 kB / 493.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1085, allocations: 12.06 kB / 493.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.628e-05/0.1086, allocations: 91.7 kB / 493.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1086, allocations: 0 / 493.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.1089, allocations: 32 kB / 493.2 MB, free: 2.484 MB / 350.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.0007107/0.1096, allocations: 0.8364 MB / 494 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003841/0.11, allocations: 213.7 kB / 494.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.11, allocations: 0 / 494.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.1102, allocations: 174.9 kB / 494.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.1106, allocations: 20.33 kB / 494.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.1127, allocations: 1.857 MB / 496.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.113, allocations: 0.7084 MB / 497 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.431e-05/0.1131, allocations: 13.02 kB / 497 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.1131, allocations: 34.25 kB / 497.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1131, allocations: 0 / 497.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0386/0.1517, allocations: 2.99 MB / 0.4883 GB, free: 11.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.608/9.759, allocations: 12 kB / 0.4883 GB, free: 11.67 MB / 366.1 MB " [Timeout remaining time 650] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial_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_TwoMassesReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.322905056003947] Failed to read output from testmodel.py, exit status != 0: 9.846247715002391 9.873794291 9.769427561 Calling exit ...