Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.001312/0.001312, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001432/0.001432, allocations: 216.2 kB / 22.26 MB, free: 5.113 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 8.016 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.002775/0.002775, allocations: 0.5757 MB / 313 MB, free: 2.508 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.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 71.88 kB / 435.2 MB, free: 17.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1024, allocations: 53.52 MB / 488.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002829/0.1053, allocations: 1.671 MB / 490.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002776/0.1055, allocations: 95.69 kB / 490.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/0.1056, allocations: 4 kB / 490.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.234e-05/0.1056, allocations: 15.84 kB / 490.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.1058, allocations: 31.7 kB / 490.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/0.1059, allocations: 23.92 kB / 490.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.106, allocations: 107.5 kB / 490.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.1062, allocations: 27.97 kB / 490.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.829e-05/0.1063, allocations: 39.92 kB / 490.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1064, allocations: 47.78 kB / 490.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.1064, allocations: 8 kB / 490.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.063e-05/0.1064, allocations: 8 kB / 490.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.1064, allocations: 23.92 kB / 490.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.819e-05/0.1065, allocations: 51.72 kB / 490.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.1067, allocations: 111.8 kB / 491 MB, free: 9.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1067, allocations: 0 / 491 MB, free: 9.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1067, allocations: 0 / 491 MB, free: 9.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1067, allocations: 0 / 491 MB, free: 9.199 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.0005431/0.1072, allocations: 318.2 kB / 491.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.1073, allocations: 12.03 kB / 491.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.178e-05/0.1073, allocations: 38.75 kB / 491.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.1074, allocations: 16.84 kB / 491.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.1076, allocations: 134.4 kB / 491.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1076, allocations: 8.562 kB / 491.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.1076, allocations: 12.33 kB / 491.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.1078, allocations: 91.48 kB / 491.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1078, allocations: 7.984 kB / 491.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1078, allocations: 4 kB / 491.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1078, allocations: 7.938 kB / 491.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.108, allocations: 51.97 kB / 491.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.1085, allocations: 355.8 kB / 492 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1087, allocations: 94.48 kB / 492.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.576e-05/0.1088, allocations: 40.84 kB / 492.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.1088, allocations: 4 kB / 492.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1088, allocations: 30.56 kB / 492.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.1088, allocations: 0 / 492.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001098/0.1099, allocations: 0.5426 MB / 492.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.11, allocations: 59.34 kB / 492.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.1101, allocations: 130.1 kB / 492.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1101, allocations: 25.7 kB / 492.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.1102, allocations: 104.3 kB / 493 MB, free: 6.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/0.1103, allocations: 59.47 kB / 493.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.1103, allocations: 29.72 kB / 493.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1104, allocations: 326.8 kB / 493.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.663e-05/0.1105, allocations: 31.98 kB / 493.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.267e-05/0.1106, allocations: 62.5 kB / 493.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.1107, allocations: 98.56 kB / 493.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1107, allocations: 0 / 493.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000207/0.1109, allocations: 143.1 kB / 493.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.111, allocations: 4 kB / 493.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.111, allocations: 8.031 kB / 493.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.111, allocations: 0 / 493.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.1112, allocations: 39.91 kB / 493.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.1112, allocations: 4 kB / 493.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.431e-05/0.1112, allocations: 7.938 kB / 493.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1112, allocations: 4 kB / 493.8 MB, free: 6.078 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 (19): * Single equations (assignments): 19 * 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 0.0001052/0.1113, allocations: 129.8 kB / 493.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.1114, allocations: 15.89 kB / 493.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/0.1114, allocations: 16.78 kB / 494 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1114, allocations: 0 / 494 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1114, allocations: 4 kB / 494 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1114, allocations: 0 / 494 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/0.112, allocations: 472.7 kB / 494.4 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.112, allocations: 4 kB / 494.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.1122, allocations: 32.08 kB / 494.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/0.1123, allocations: 16.8 kB / 494.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1123, allocations: 8 kB / 494.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.1133, allocations: 1.271 MB / 495.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/0.1133, allocations: 8.016 kB / 495.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.1137, allocations: 294.9 kB / 496.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.512e-05/0.1137, allocations: 7.984 kB / 496.1 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.1137, allocations: 7.938 kB / 496.1 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.771e-05/0.1138, allocations: 7.984 kB / 496.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.1138, allocations: 11.92 kB / 496.1 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.1138, allocations: 8 kB / 496.1 MB, free: 3.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.055e-05/0.1139, allocations: 99.33 kB / 496.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1139, allocations: 0 / 496.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1141, allocations: 28 kB / 496.2 MB, free: 3.438 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.0006899/0.1148, allocations: 0.8362 MB / 497.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.115, allocations: 87.91 kB / 497.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.115, allocations: 0 / 497.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.1153, allocations: 170.5 kB / 497.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.1157, allocations: 28.23 kB / 497.3 MB, free: 2.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.1175, allocations: 1.784 MB / 499.1 MB, free: 388 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.1179, allocations: 0.7045 MB / 499.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.66e-05/0.118, allocations: 21.02 kB / 499.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.118, allocations: 27.42 kB / 499.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.118, allocations: 3.938 kB / 499.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.1485, allocations: 3.024 MB / 0.4911 GB, free: 12.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.75, allocations: 6.688 kB / 0.4911 GB, free: 12.76 MB / 366.1 MB " [Timeout remaining time 649] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState_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_TwoMassesReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.527684143002261] Failed to read output from testmodel.py, exit status != 0: 10.853792519999843 11.047164986 10.762580011 Calling exit ...