Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.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.001284/0.001284, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.473/1.473, allocations: 230.6 MB / 252.7 MB, free: 14.28 MB / 206.1 MB " [Timeout remaining time 178] 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.001632/0.001632, allocations: 211.3 kB / 309.2 MB, free: 3.148 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04132/0.04132, allocations: 8.936 MB / 374.6 MB, free: 6.594 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Machines.TestDoubleLayer7over9,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer7over9,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 84.3 kB / 0.4891 GB, free: 44.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1029, allocations: 55.62 MB / 0.5434 GB, free: 5.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002526/0.1054, allocations: 1.263 MB / 0.5447 GB, free: 3.809 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.1074, allocations: 1.129 MB / 0.5458 GB, free: 2.672 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.1075, allocations: 3.938 kB / 0.5458 GB, free: 2.668 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.1079, allocations: 75.92 kB / 0.5459 GB, free: 2.594 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.109, allocations: 418.4 kB / 0.5463 GB, free: 2.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.669e-06/0.109, allocations: 0 / 0.5463 GB, free: 2.184 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.1102, allocations: 0.8232 MB / 0.5471 GB, free: 1.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.1103, allocations: 0 / 0.5471 GB, free: 1.359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.388e-05/0.1103, allocations: 19.92 kB / 0.5471 GB, free: 1.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.599e-05/0.1104, allocations: 15.88 kB / 0.5471 GB, free: 1.324 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.1104, allocations: 0 / 0.5471 GB, free: 1.324 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.1105, allocations: 43.97 kB / 0.5471 GB, free: 1.281 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.1106, allocations: 23.91 kB / 0.5472 GB, free: 1.258 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.1106, allocations: 19.8 kB / 0.5472 GB, free: 1.238 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1108, allocations: 71.69 kB / 0.5472 GB, free: 1.168 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1108, allocations: 0 / 0.5472 GB, free: 1.168 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1108, allocations: 4 kB / 0.5472 GB, free: 1.164 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1108, allocations: 0 / 0.5472 GB, free: 1.164 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004014/0.1112, allocations: 317.8 kB / 0.5475 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1112, allocations: 15.98 kB / 0.5476 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.697e-05/0.1113, allocations: 110 kB / 0.5477 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003633/0.1117, allocations: 104.1 kB / 0.5478 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.1122, allocations: 321.4 kB / 0.5481 GB, free: 256 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.979e-05/0.1122, allocations: 154.9 kB / 0.5482 GB, free: 100 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.102e-05/0.1123, allocations: 150.9 kB / 0.5484 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.648e-05/0.1124, allocations: 105.1 kB / 0.5485 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.945e-05/0.1124, allocations: 79.28 kB / 0.5485 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.922e-05/0.1125, allocations: 150.6 kB / 0.5487 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.818e-05/0.1126, allocations: 158.5 kB / 0.5488 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.864e-05/0.1126, allocations: 154.6 kB / 0.549 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.113, allocations: 433 kB / 0.5494 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.1131, allocations: 169.1 kB / 0.5496 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.1131, allocations: 80.14 kB / 0.5496 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.1132, allocations: 79.22 kB / 0.5497 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.957e-05/0.1132, allocations: 113.8 kB / 0.5498 GB, free: 14.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.1132, allocations: 0 / 0.5498 GB, free: 14.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.374e-05/0.1133, allocations: 37.66 kB / 0.5499 GB, free: 14.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.1134, allocations: 134.7 kB / 0.55 GB, free: 14.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1135, allocations: 158.2 kB / 0.5501 GB, free: 14.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1136, allocations: 25.7 kB / 0.5502 GB, free: 14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.1136, allocations: 104.1 kB / 0.5503 GB, free: 13.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.1136, allocations: 3.938 kB / 0.5503 GB, free: 13.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.1136, allocations: 13.66 kB / 0.5503 GB, free: 13.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1138, allocations: 318.8 kB / 0.5506 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.568e-06/0.1138, allocations: 0 / 0.5506 GB, free: 13.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-06/0.1138, allocations: 3.938 kB / 0.5506 GB, free: 13.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.105e-05/0.1138, allocations: 79.27 kB / 0.5507 GB, free: 13.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.092e-05/0.1139, allocations: 79.28 kB / 0.5507 GB, free: 13.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.751e-05/0.1139, allocations: 41.59 kB / 0.5508 GB, free: 13.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.428e-05/0.114, allocations: 79.28 kB / 0.5509 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.853e-05/0.114, allocations: 75.28 kB / 0.5509 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/0.1141, allocations: 158.5 kB / 0.5511 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.411e-05/0.1142, allocations: 75.28 kB / 0.5511 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.257e-05/0.1142, allocations: 158.5 kB / 0.5513 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/0.1143, allocations: 79.27 kB / 0.5514 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.1143, allocations: 83.27 kB / 0.5515 GB, free: 12.64 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001479/0.1145, allocations: 272.5 kB / 0.5517 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/0.1146, allocations: 124.8 kB / 0.5518 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.032e-05/0.1146, allocations: 108.8 kB / 0.5519 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-05/0.1147, allocations: 180.2 kB / 0.5521 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.397e-05/0.1148, allocations: 188.2 kB / 0.5523 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.7e-05/0.1149, allocations: 176.3 kB / 0.5525 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.1151, allocations: 392.2 kB / 0.5528 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.166e-05/0.1152, allocations: 105 kB / 0.5529 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.1152, allocations: 108.9 kB / 0.553 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.884e-05/0.1153, allocations: 180.3 kB / 0.5532 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.026e-05/0.1154, allocations: 176.3 kB / 0.5534 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.296e-05/0.1155, allocations: 180.2 kB / 0.5535 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.65e-05/0.1156, allocations: 188.6 kB / 0.5537 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.1158, allocations: 319.7 kB / 0.554 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.1158, allocations: 124.8 kB / 0.5541 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.737e-05/0.1159, allocations: 180.3 kB / 0.5543 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.514e-05/0.116, allocations: 105 kB / 0.5544 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/0.1161, allocations: 184.2 kB / 0.5546 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/0.1161, allocations: 101 kB / 0.5547 GB, free: 9.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.561e-05/0.1162, allocations: 120.1 kB / 0.5548 GB, free: 9.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1162, allocations: 0 / 0.5548 GB, free: 9.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.1165, allocations: 7.938 kB / 0.5548 GB, free: 9 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.00047/0.117, allocations: 0.8203 MB / 0.5556 GB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.199e-05/0.117, allocations: 0 / 0.5556 GB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.117, allocations: 0 / 0.5556 GB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.117, allocations: 0 / 0.5556 GB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.1175, allocations: 473.5 kB / 0.5561 GB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.119, allocations: 1.795 MB / 0.5578 GB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.692e-05/0.1191, allocations: 79.27 kB / 0.5579 GB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.882e-05/0.1191, allocations: 11.98 kB / 0.5579 GB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.1192, allocations: 19.44 kB / 0.5579 GB, free: 5.688 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1192, allocations: 0 / 0.5579 GB, free: 5.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.1495, allocations: 2.34 MB / 0.5602 GB, free: 3.465 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/10.96, allocations: 14.7 kB / 0.5602 GB, free: 3.453 MB / 382.1 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9.fmu > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.904754185117781] Failed to read output from testmodel.py, exit status != 0: 11.068315466865897 11.268922324 11.155303621 Calling exit ...