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.001342/0.001342, allocations: 108.8 kB / 16.46 MB, free: 6.453 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.494/1.494, allocations: 230.6 MB / 249.8 MB, free: 9.207 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.001719/0.001719, allocations: 218 kB / 306 MB, free: 4.277 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.911 MB / 371 MB, free: 3.418 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.003533/0.003533, allocations: 87.88 kB / 495.7 MB, free: 9.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3393, allocations: 55.56 MB / 0.5384 GB, free: 26.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002677/0.3419, allocations: 1.751 MB / 0.5401 GB, free: 25.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002271/0.3422, allocations: 98.14 kB / 0.5402 GB, free: 25.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.3422, allocations: 3 kB / 0.5402 GB, free: 25.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.742e-05/0.3423, allocations: 18.47 kB / 0.5402 GB, free: 25.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.885e-05/0.3423, allocations: 32.94 kB / 0.5402 GB, free: 25.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.3425, allocations: 22.14 kB / 0.5402 GB, free: 25.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.3426, allocations: 115.8 kB / 0.5403 GB, free: 25.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3427, allocations: 35.62 kB / 0.5404 GB, free: 25.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.267e-05/0.3428, allocations: 40.09 kB / 0.5404 GB, free: 25.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.487e-05/0.3428, allocations: 42.09 kB / 0.5405 GB, free: 25.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.3429, allocations: 13.16 kB / 0.5405 GB, free: 25.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.792e-05/0.3429, allocations: 9.406 kB / 0.5405 GB, free: 25.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.3429, allocations: 22.59 kB / 0.5405 GB, free: 25.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.502e-05/0.3429, allocations: 54.11 kB / 0.5405 GB, free: 25.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.3431, allocations: 108.8 kB / 0.5407 GB, free: 25.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3431, allocations: 0 / 0.5407 GB, free: 25.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3431, allocations: 0 / 0.5407 GB, free: 25.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.3431, allocations: 0 / 0.5407 GB, free: 25.05 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.0004255/0.3435, allocations: 399 kB / 0.541 GB, free: 24.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3436, allocations: 13.72 kB / 0.541 GB, free: 24.65 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.3436, allocations: 41.84 kB / 0.5411 GB, free: 24.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.3436, allocations: 11.27 kB / 0.5411 GB, free: 24.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.661e-05/0.3437, allocations: 182.6 kB / 0.5413 GB, free: 24.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.3437, allocations: 3.344 kB / 0.5413 GB, free: 24.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.3437, allocations: 10.62 kB / 0.5413 GB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.3439, allocations: 100.3 kB / 0.5414 GB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.3439, allocations: 7 kB / 0.5414 GB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3439, allocations: 0 / 0.5414 GB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3439, allocations: 3.188 kB / 0.5414 GB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.3441, allocations: 65.3 kB / 0.5415 GB, free: 24.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/0.3446, allocations: 0.4904 MB / 0.5419 GB, free: 23.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.3448, allocations: 83.94 kB / 0.542 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/0.3449, allocations: 39.62 kB / 0.542 GB, free: 23.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.3449, allocations: 4 kB / 0.5421 GB, free: 23.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.3449, allocations: 36.97 kB / 0.5421 GB, free: 23.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.3449, allocations: 0 / 0.5421 GB, free: 23.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000469/0.3454, allocations: 222.8 kB / 0.5423 GB, free: 23.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.3454, allocations: 51.41 kB / 0.5423 GB, free: 23.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.831e-05/0.3455, allocations: 121.7 kB / 0.5425 GB, free: 23.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.3455, allocations: 25.7 kB / 0.5425 GB, free: 23.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.3455, allocations: 109.6 kB / 0.5426 GB, free: 23.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.3455, allocations: 30.2 kB / 0.5426 GB, free: 23.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.3455, allocations: 20.09 kB / 0.5426 GB, free: 23.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.942e-05/0.3456, allocations: 318.3 kB / 0.5429 GB, free: 22.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.05e-05/0.3456, allocations: 13.38 kB / 0.543 GB, free: 22.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.3457, allocations: 37.42 kB / 0.543 GB, free: 22.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.559e-05/0.3457, allocations: 58.72 kB / 0.5431 GB, free: 22.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3457, allocations: 4.5 kB / 0.5431 GB, free: 22.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001682/0.3459, allocations: 110.2 kB / 0.5432 GB, free: 22.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3459, allocations: 8.812 kB / 0.5432 GB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3459, allocations: 0 / 0.5432 GB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001576/0.3461, allocations: 29.02 kB / 0.5432 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.228e-05/0.3461, allocations: 20.05 kB / 0.5432 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007033/0.3468, allocations: 1.43 MB / 0.5446 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.681e-05/0.3469, allocations: 7.891 kB / 0.5446 GB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.3469, allocations: 3.188 kB / 0.5446 GB, free: 21.28 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.941e-05/0.3469, allocations: 123.5 kB / 0.5447 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.347, allocations: 7.125 kB / 0.5447 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.347, allocations: 8.375 kB / 0.5448 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.347, allocations: 4.062 kB / 0.5448 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.347, allocations: 3.25 kB / 0.5448 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.347, allocations: 0 / 0.5448 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.3471, allocations: 198.2 kB / 0.545 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3471, allocations: 3.062 kB / 0.545 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.331e-05/0.3472, allocations: 17.02 kB / 0.545 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.24e-05/0.3473, allocations: 28.83 kB / 0.545 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.3473, allocations: 4 kB / 0.545 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006233/0.3479, allocations: 1.417 MB / 0.5464 GB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3479, allocations: 3.188 kB / 0.5464 GB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.3482, allocations: 226.7 kB / 0.5466 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.994e-05/0.3482, allocations: 88.22 kB / 0.5467 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.3482, allocations: 3.938 kB / 0.5467 GB, free: 19.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.935e-05/0.3482, allocations: 0 / 0.5467 GB, free: 19.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.3483, allocations: 10.7 kB / 0.5467 GB, free: 19.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.3483, allocations: 3.031 kB / 0.5467 GB, free: 19.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.968e-05/0.3483, allocations: 96.44 kB / 0.5468 GB, free: 19.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3483, allocations: 0 / 0.5468 GB, free: 19.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.3485, allocations: 30.03 kB / 0.5468 GB, free: 19.1 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.0003701/0.3489, allocations: 0.7587 MB / 0.5476 GB, free: 18.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.3491, allocations: 171 kB / 0.5477 GB, free: 18.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3492, allocations: 0 / 0.5477 GB, free: 18.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.3493, allocations: 148.2 kB / 0.5479 GB, free: 18.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.3496, allocations: 18.23 kB / 0.5479 GB, free: 18.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.3508, allocations: 1.577 MB / 0.5494 GB, free: 16.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.3509, allocations: 0.697 MB / 0.5501 GB, free: 16.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.835e-05/0.3509, allocations: 7.156 kB / 0.5501 GB, free: 16.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/0.351, allocations: 26.17 kB / 0.5501 GB, free: 16.01 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.351, allocations: 0 / 0.5501 GB, free: 16.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.3818, allocations: 2.441 MB / 0.5525 GB, free: 15.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.592/9.974, allocations: 14.3 kB / 0.5525 GB, free: 15.49 MB / 382.1 MB " [Timeout remaining time 650] (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: 12.846497493999777] Failed to read output from testmodel.py, exit status != 0: 10.056178008991992 10.073542988 9.726771379 Calling exit ...