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.001666/0.001666, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.47/1.47, allocations: 230.6 MB / 252.7 MB, free: 8.297 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.001774/0.001774, allocations: 219.4 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.04126/0.04126, allocations: 8.918 MB / 374.6 MB, free: 1.906 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.002554/0.002554, allocations: 83.88 kB / 0.4892 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2681, allocations: 55.61 MB / 0.5435 GB, free: 26.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002224/0.2703, allocations: 1.752 MB / 0.5452 GB, free: 25.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002276/0.2705, allocations: 97.66 kB / 0.5453 GB, free: 25.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.2706, allocations: 0 / 0.5453 GB, free: 25.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.528e-05/0.2706, allocations: 14.48 kB / 0.5453 GB, free: 25.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.823e-05/0.2707, allocations: 37.88 kB / 0.5453 GB, free: 25.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.2708, allocations: 22.14 kB / 0.5454 GB, free: 25.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.2709, allocations: 117 kB / 0.5455 GB, free: 25.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.271, allocations: 39.62 kB / 0.5455 GB, free: 25.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.032e-05/0.2711, allocations: 44.41 kB / 0.5456 GB, free: 25.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.012e-05/0.2712, allocations: 41.7 kB / 0.5456 GB, free: 25.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.2712, allocations: 9.094 kB / 0.5456 GB, free: 25.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.794e-05/0.2712, allocations: 8.719 kB / 0.5456 GB, free: 25.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.2712, allocations: 22.22 kB / 0.5456 GB, free: 25.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.2713, allocations: 53.11 kB / 0.5457 GB, free: 25.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.2714, allocations: 109.1 kB / 0.5458 GB, free: 25.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2714, allocations: 0 / 0.5458 GB, free: 25.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2714, allocations: 2.859 kB / 0.5458 GB, free: 25.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.2714, allocations: 0 / 0.5458 GB, free: 25.25 MB / 382.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.0003715/0.2718, allocations: 324.4 kB / 0.5461 GB, free: 24.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.2718, allocations: 9.625 kB / 0.5461 GB, free: 24.94 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.169e-05/0.2718, allocations: 41.38 kB / 0.5462 GB, free: 24.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.2719, allocations: 11.52 kB / 0.5462 GB, free: 24.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.902e-05/0.2719, allocations: 125.5 kB / 0.5463 GB, free: 24.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.2719, allocations: 6.812 kB / 0.5463 GB, free: 24.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.272, allocations: 10.59 kB / 0.5463 GB, free: 24.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.2721, allocations: 95.27 kB / 0.5464 GB, free: 24.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2721, allocations: 7.938 kB / 0.5464 GB, free: 24.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2721, allocations: 7.875 kB / 0.5464 GB, free: 24.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2721, allocations: 3.031 kB / 0.5464 GB, free: 24.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.2723, allocations: 59.78 kB / 0.5465 GB, free: 24.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.2728, allocations: 473.3 kB / 0.5469 GB, free: 24.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.273, allocations: 87.2 kB / 0.547 GB, free: 24.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.2731, allocations: 36.31 kB / 0.547 GB, free: 24.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.2731, allocations: 3.984 kB / 0.547 GB, free: 24.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.288e-05/0.2731, allocations: 41.11 kB / 0.5471 GB, free: 24.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2731, allocations: 0 / 0.5471 GB, free: 24.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004679/0.2736, allocations: 143.8 kB / 0.5472 GB, free: 24.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.697e-05/0.2736, allocations: 51.41 kB / 0.5473 GB, free: 23.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.045e-05/0.2736, allocations: 117.8 kB / 0.5474 GB, free: 23.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.2736, allocations: 25.7 kB / 0.5474 GB, free: 23.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.2737, allocations: 109.6 kB / 0.5475 GB, free: 23.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.2737, allocations: 30.42 kB / 0.5475 GB, free: 23.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.2737, allocations: 20.19 kB / 0.5476 GB, free: 23.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.514e-05/0.2738, allocations: 322 kB / 0.5479 GB, free: 23.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.161e-05/0.2738, allocations: 17.17 kB / 0.5479 GB, free: 23.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.634e-05/0.2738, allocations: 34.02 kB / 0.5479 GB, free: 23.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.378e-05/0.2739, allocations: 56.5 kB / 0.548 GB, free: 23.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2739, allocations: 7.125 kB / 0.548 GB, free: 23.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001866/0.2741, allocations: 106.2 kB / 0.5481 GB, free: 23.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.2741, allocations: 10.34 kB / 0.5481 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2741, allocations: 0 / 0.5481 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/0.2742, allocations: 28.36 kB / 0.5481 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.2743, allocations: 17.12 kB / 0.5481 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006923/0.275, allocations: 1.32 MB / 0.5494 GB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.188e-05/0.275, allocations: 7.891 kB / 0.5494 GB, free: 21.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.2751, allocations: 6.938 kB / 0.5494 GB, free: 21.91 MB / 382.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 5.66e-05/0.2751, allocations: 120.5 kB / 0.5495 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.2751, allocations: 13.91 kB / 0.5496 GB, free: 21.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.2752, allocations: 8.375 kB / 0.5496 GB, free: 21.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.2752, allocations: 0 / 0.5496 GB, free: 21.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2752, allocations: 3.062 kB / 0.5496 GB, free: 21.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2752, allocations: 144 / 0.5496 GB, free: 21.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.2753, allocations: 175.4 kB / 0.5497 GB, free: 21.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2753, allocations: 0 / 0.5497 GB, free: 21.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.694e-05/0.2754, allocations: 23.61 kB / 0.5498 GB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.391e-05/0.2755, allocations: 33.45 kB / 0.5498 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.2755, allocations: 4 kB / 0.5498 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005962/0.2761, allocations: 1.31 MB / 0.5511 GB, free: 20.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2761, allocations: 0 / 0.5511 GB, free: 20.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.2763, allocations: 226 kB / 0.5513 GB, free: 20.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.2763, allocations: 14.81 kB / 0.5513 GB, free: 20.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.2763, allocations: 3.938 kB / 0.5513 GB, free: 20.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.584e-05/0.2764, allocations: 4 kB / 0.5513 GB, free: 20.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.2764, allocations: 10.92 kB / 0.5513 GB, free: 20.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.2764, allocations: 0 / 0.5513 GB, free: 20.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.066e-05/0.2764, allocations: 96.25 kB / 0.5514 GB, free: 19.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2764, allocations: 0 / 0.5514 GB, free: 19.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.2767, allocations: 28.38 kB / 0.5514 GB, free: 19.98 MB / 382.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.0003439/0.277, allocations: 0.7545 MB / 0.5522 GB, free: 19.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.2773, allocations: 167.3 kB / 0.5523 GB, free: 19.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2773, allocations: 0 / 0.5523 GB, free: 19.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.891e-05/0.2774, allocations: 147 kB / 0.5525 GB, free: 19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.2777, allocations: 21.53 kB / 0.5525 GB, free: 19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.2789, allocations: 1.576 MB / 0.554 GB, free: 17.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.527e-05/0.279, allocations: 0.6946 MB / 0.5547 GB, free: 16.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.863e-05/0.279, allocations: 7.422 kB / 0.5547 GB, free: 16.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.2791, allocations: 26.53 kB / 0.5547 GB, free: 16.89 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2791, allocations: 0 / 0.5547 GB, free: 16.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.3107, allocations: 2.557 MB / 0.5572 GB, free: 16.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.57, allocations: 5.75 kB / 0.5573 GB, free: 16.39 MB / 382.1 MB " [Timeout remaining time 648] (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.384708313002193] Failed to read output from testmodel.py, exit status != 0: 11.677809228000115 11.700802733 11.424549121 Calling exit ...