Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Coupling.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.001768/0.001768, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.435/1.435, 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.001518/0.001518, allocations: 211.7 kB / 309.2 MB, free: 3.16 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.04077/0.04077, allocations: 8.913 MB / 374.6 MB, free: 6.598 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.Coupling,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Coupling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.Coupling,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Coupling",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.002632/0.002632, allocations: 83.88 kB / 0.4891 GB, free: 44.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07779/0.08043, allocations: 55.62 MB / 0.5434 GB, free: 5.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003897/0.08432, allocations: 2.315 MB / 0.5457 GB, free: 2.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.08559, allocations: 0.5921 MB / 0.5463 GB, free: 2.133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.08575, allocations: 7.938 kB / 0.5463 GB, free: 2.125 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.0859, allocations: 31.7 kB / 0.5463 GB, free: 2.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.08608, allocations: 67.36 kB / 0.5464 GB, free: 2.027 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.0863, allocations: 59.86 kB / 0.5464 GB, free: 1.969 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.08663, allocations: 246.8 kB / 0.5467 GB, free: 1.727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.08679, allocations: 56.55 kB / 0.5467 GB, free: 1.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.08691, allocations: 91.66 kB / 0.5468 GB, free: 1.582 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.08708, allocations: 91.55 kB / 0.5469 GB, free: 1.492 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.08712, allocations: 16 kB / 0.5469 GB, free: 1.477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.34e-05/0.08716, allocations: 20 kB / 0.5469 GB, free: 1.457 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.0872, allocations: 35.86 kB / 0.547 GB, free: 1.422 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.08732, allocations: 99.53 kB / 0.5471 GB, free: 1.324 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.08762, allocations: 231 kB / 0.5473 GB, free: 1.098 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.08763, allocations: 0 / 0.5473 GB, free: 1.098 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.08763, allocations: 4 kB / 0.5473 GB, free: 1.094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.08764, allocations: 0 / 0.5473 GB, free: 1.094 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008035/0.08844, allocations: 437.3 kB / 0.5477 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.08849, allocations: 15.98 kB / 0.5477 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.04e-05/0.08855, allocations: 50.73 kB / 0.5478 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.0886, allocations: 24.8 kB / 0.5478 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.08893, allocations: 174.2 kB / 0.548 GB, free: 352 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.08895, allocations: 16.38 kB / 0.548 GB, free: 336 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.08899, allocations: 16.38 kB / 0.548 GB, free: 320 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.08933, allocations: 221 kB / 0.5482 GB, free: 80 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.08935, allocations: 4 kB / 0.5482 GB, free: 76 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.08937, allocations: 8 kB / 0.5482 GB, free: 68 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.08938, allocations: 4 kB / 0.5482 GB, free: 64 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.08962, allocations: 108 kB / 0.5483 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.09076, allocations: 0.6732 MB / 0.549 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.09104, allocations: 126.7 kB / 0.5491 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.436e-05/0.09114, allocations: 48.84 kB / 0.5491 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.09115, allocations: 3.984 kB / 0.5491 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.09136, allocations: 121 kB / 0.5493 GB, free: 14.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.512e-06/0.09136, allocations: 0 / 0.5493 GB, free: 14.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006144/0.09197, allocations: 212.4 kB / 0.5495 GB, free: 14.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.09202, allocations: 51.41 kB / 0.5495 GB, free: 14.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.09221, allocations: 195.1 kB / 0.5497 GB, free: 14.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.09223, allocations: 41.52 kB / 0.5497 GB, free: 14.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.959e-05/0.09233, allocations: 136.4 kB / 0.5499 GB, free: 14.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.09237, allocations: 51.53 kB / 0.5499 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.09243, allocations: 41.7 kB / 0.55 GB, free: 14.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.09258, allocations: 326.8 kB / 0.5503 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-05/0.09265, allocations: 31.98 kB / 0.5503 GB, free: 13.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.47e-05/0.09274, allocations: 69.64 kB / 0.5504 GB, free: 13.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.09291, allocations: 118.3 kB / 0.5505 GB, free: 13.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.09292, allocations: 0 / 0.5505 GB, free: 13.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003183/0.09324, allocations: 178.2 kB / 0.5507 GB, free: 13.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.09325, allocations: 11.98 kB / 0.5507 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.09326, allocations: 0 / 0.5507 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001777/0.09344, allocations: 32.84 kB / 0.5507 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.09355, allocations: 27.92 kB / 0.5507 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.09481, allocations: 1.374 MB / 0.5521 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.09492, allocations: 15.89 kB / 0.5521 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.09494, allocations: 8 kB / 0.5521 GB, free: 11.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.09507, allocations: 129.8 kB / 0.5522 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.0951, allocations: 19.84 kB / 0.5522 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/0.09515, allocations: 21.53 kB / 0.5522 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.09515, allocations: 4 kB / 0.5523 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.09516, allocations: 0 / 0.5523 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.09516, allocations: 7.938 kB / 0.5523 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.09541, allocations: 208.6 kB / 0.5525 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.09541, allocations: 0 / 0.5525 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.09552, allocations: 27.92 kB / 0.5525 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/0.09564, allocations: 28.84 kB / 0.5525 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.09565, allocations: 4 kB / 0.5525 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.09683, allocations: 1.358 MB / 0.5538 GB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.09683, allocations: 0 / 0.5538 GB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/0.09724, allocations: 244.2 kB / 0.5541 GB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/0.09731, allocations: 27.83 kB / 0.5541 GB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.09734, allocations: 15.92 kB / 0.5541 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.09744, allocations: 8 kB / 0.5541 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.0975, allocations: 11.97 kB / 0.5541 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.09751, allocations: 7.938 kB / 0.5541 GB, free: 9.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.09763, allocations: 141.3 kB / 0.5543 GB, free: 9.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09763, allocations: 0 / 0.5543 GB, free: 9.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.0979, allocations: 59.89 kB / 0.5543 GB, free: 9.305 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: 3 ($whenCondition1,switch.control,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007176/0.09862, allocations: 0.7615 MB / 0.5551 GB, free: 8.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004193/0.09904, allocations: 224.9 kB / 0.5553 GB, free: 8.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.09904, allocations: 320 / 0.5553 GB, free: 8.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.09925, allocations: 166.6 kB / 0.5555 GB, free: 8.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.09951, allocations: 27.98 kB / 0.5555 GB, free: 8.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.102, allocations: 2.081 MB / 0.5575 GB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.1021, allocations: 120.9 kB / 0.5576 GB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.064e-05/0.1022, allocations: 13.48 kB / 0.5576 GB, free: 5.727 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.393e-05/0.1023, allocations: 59.41 kB / 0.5577 GB, free: 5.668 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1023, allocations: 0 / 0.5577 GB, free: 5.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03759/0.1399, allocations: 4.994 MB / 0.5626 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.73, allocations: 0 / 0.5626 GB, free: 0.8242 MB / 382.1 MB " [Timeout remaining time 648] (rm -f HanserModelica_HanserModelica.Thermal.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Coupling.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Thermal.Coupling_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_Coupling.fmu > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.714630430098623] Failed to read output from testmodel.py, exit status != 0: 12.01937858806923 12.032179374 11.941884759 Calling exit ...