Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Network.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.001714/0.001714, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.453/1.453, allocations: 230.6 MB / 252.7 MB, free: 8.078 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.002255/0.002255, allocations: 219.8 kB / 309.2 MB, free: 2.938 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.04725/0.04725, allocations: 8.918 MB / 374.6 MB, free: 1.723 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.Thermal.Network,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.Network,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Network",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.002516/0.002516, allocations: 89.92 kB / 0.4891 GB, free: 4.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09719/0.0997, allocations: 55.61 MB / 0.5434 GB, free: 4.883 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002929/0.1026, allocations: 1.698 MB / 0.5451 GB, free: 3.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002523/0.1029, allocations: 95.61 kB / 0.5452 GB, free: 3.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.224e-05/0.1029, allocations: 4 kB / 0.5452 GB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.355e-05/0.103, allocations: 19.84 kB / 0.5452 GB, free: 3.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.772e-05/0.1031, allocations: 31.7 kB / 0.5452 GB, free: 3.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.1032, allocations: 19.98 kB / 0.5452 GB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.1033, allocations: 115.4 kB / 0.5454 GB, free: 2.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1035, allocations: 44.19 kB / 0.5454 GB, free: 2.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.729e-05/0.1035, allocations: 35.92 kB / 0.5454 GB, free: 2.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.197e-05/0.1036, allocations: 43.78 kB / 0.5455 GB, free: 2.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.1036, allocations: 8 kB / 0.5455 GB, free: 2.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.461e-05/0.1037, allocations: 11.94 kB / 0.5455 GB, free: 2.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.1037, allocations: 19.92 kB / 0.5455 GB, free: 2.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.873e-05/0.1038, allocations: 47.84 kB / 0.5456 GB, free: 2.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.1039, allocations: 107.5 kB / 0.5457 GB, free: 2.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1039, allocations: 0 / 0.5457 GB, free: 2.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1039, allocations: 0 / 0.5457 GB, free: 2.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1039, allocations: 0 / 0.5457 GB, free: 2.582 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004813/0.1044, allocations: 322 kB / 0.546 GB, free: 2.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1044, allocations: 8.031 kB / 0.546 GB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.1045, allocations: 46.73 kB / 0.546 GB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.1045, allocations: 8.891 kB / 0.546 GB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.1047, allocations: 126.4 kB / 0.5462 GB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1047, allocations: 8.375 kB / 0.5462 GB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.1047, allocations: 4.375 kB / 0.5462 GB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.1049, allocations: 95.84 kB / 0.5463 GB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1049, allocations: 3.938 kB / 0.5463 GB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1049, allocations: 8 kB / 0.5463 GB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1049, allocations: 4 kB / 0.5463 GB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.1051, allocations: 51.97 kB / 0.5463 GB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007049/0.1058, allocations: 383.4 kB / 0.5467 GB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.106, allocations: 78.5 kB / 0.5468 GB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.816e-05/0.1061, allocations: 36.84 kB / 0.5468 GB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.1061, allocations: 0 / 0.5468 GB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1061, allocations: 30.56 kB / 0.5468 GB, free: 1.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1061, allocations: 4 kB / 0.5468 GB, free: 1.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005118/0.1066, allocations: 154.2 kB / 0.547 GB, free: 1.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.1067, allocations: 51.41 kB / 0.547 GB, free: 1.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.1068, allocations: 117.8 kB / 0.5471 GB, free: 0.9062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.1068, allocations: 25.7 kB / 0.5472 GB, free: 0.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.202e-05/0.1069, allocations: 108 kB / 0.5473 GB, free: 0.7656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.1069, allocations: 27.89 kB / 0.5473 GB, free: 0.7383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.1069, allocations: 33.7 kB / 0.5473 GB, free: 0.6992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1071, allocations: 314.8 kB / 0.5476 GB, free: 392 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.605e-05/0.1071, allocations: 19.98 kB / 0.5476 GB, free: 372 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-05/0.1072, allocations: 41.64 kB / 0.5477 GB, free: 324 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.752e-05/0.1073, allocations: 53.72 kB / 0.5477 GB, free: 264 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1073, allocations: 3.938 kB / 0.5477 GB, free: 260 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002162/0.1075, allocations: 114.4 kB / 0.5478 GB, free: 136 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1075, allocations: 4 kB / 0.5478 GB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.1075, allocations: 4.688 kB / 0.5479 GB, free: 128 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.1077, allocations: 32.84 kB / 0.5479 GB, free: 92 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.1077, allocations: 15.98 kB / 0.5479 GB, free: 76 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.1089, allocations: 1.315 MB / 0.5492 GB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.1089, allocations: 7.953 kB / 0.5492 GB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1089, allocations: 4.031 kB / 0.5492 GB, free: 14.63 MB / 366.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 (8): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.109, allocations: 117.9 kB / 0.5493 GB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.1091, allocations: 11.88 kB / 0.5493 GB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.1091, allocations: 12.38 kB / 0.5493 GB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1091, allocations: 4 kB / 0.5493 GB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1091, allocations: 0 / 0.5493 GB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1091, allocations: 3.984 kB / 0.5493 GB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.1093, allocations: 164.6 kB / 0.5495 GB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1093, allocations: 0 / 0.5495 GB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.072e-05/0.1094, allocations: 19.88 kB / 0.5495 GB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.406e-05/0.1095, allocations: 24.84 kB / 0.5495 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.1095, allocations: 8 kB / 0.5495 GB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.1105, allocations: 1.307 MB / 0.5508 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1105, allocations: 4 kB / 0.5508 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.1108, allocations: 228.6 kB / 0.551 GB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.5e-05/0.1108, allocations: 7.984 kB / 0.5511 GB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.1109, allocations: 11.86 kB / 0.5511 GB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.463e-05/0.1109, allocations: 4.125 kB / 0.5511 GB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.1109, allocations: 15.92 kB / 0.5511 GB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.1109, allocations: 4 kB / 0.5511 GB, free: 12.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.937e-05/0.111, allocations: 87.28 kB / 0.5512 GB, free: 12.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.111, allocations: 0 / 0.5512 GB, free: 12.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1113, allocations: 31.94 kB / 0.5512 GB, free: 12.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005718/0.1118, allocations: 0.7484 MB / 0.5519 GB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.1121, allocations: 166.8 kB / 0.5521 GB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1121, allocations: 0 / 0.5521 GB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.1123, allocations: 159 kB / 0.5522 GB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.1126, allocations: 11.94 kB / 0.5523 GB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.1143, allocations: 1.565 MB / 0.5538 GB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.935e-05/0.1144, allocations: 83.33 kB / 0.5539 GB, free: 9.496 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.056e-05/0.1144, allocations: 12.59 kB / 0.5539 GB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.1145, allocations: 19.44 kB / 0.5539 GB, free: 9.465 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1145, allocations: 0 / 0.5539 GB, free: 9.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03387/0.1483, allocations: 3.023 MB / 0.5568 GB, free: 6.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.34, allocations: 6.906 kB / 0.5568 GB, free: 6.586 MB / 366.1 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.Thermal.Network.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Network.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Network.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Network.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Thermal.Network_res.csv --start-time 0 --stop-time 400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 HanserModelica_HanserModelica_Thermal_Network.fmu > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.192246574908495] Failed to read output from testmodel.py, exit status != 0: 11.44851017696783 11.478923927 11.369556096 Calling exit ...