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.001758/0.001758, allocations: 113 kB / 18.94 MB, free: 2.934 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.446/1.446, allocations: 230.6 MB / 252.6 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.001601/0.001601, allocations: 214.4 kB / 309.2 MB, free: 3.164 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.04223/0.04223, allocations: 8.907 MB / 374.6 MB, free: 1.926 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.002477/0.002477, allocations: 84.25 kB / 0.4892 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2743, allocations: 55.6 MB / 0.5435 GB, free: 26.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.00332/0.2776, allocations: 2.474 MB / 0.5459 GB, free: 25.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.2787, allocations: 0.6258 MB / 0.5465 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.2788, allocations: 3.25 kB / 0.5465 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.2789, allocations: 37.22 kB / 0.5466 GB, free: 24.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.2791, allocations: 60.28 kB / 0.5466 GB, free: 24.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.2793, allocations: 59.11 kB / 0.5467 GB, free: 24.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.2795, allocations: 250.3 kB / 0.5469 GB, free: 24.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.2796, allocations: 57.53 kB / 0.547 GB, free: 24.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.987e-05/0.2797, allocations: 95.61 kB / 0.5471 GB, free: 24.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.2798, allocations: 100.3 kB / 0.5472 GB, free: 24.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.2799, allocations: 18.72 kB / 0.5472 GB, free: 24.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.056e-05/0.2799, allocations: 19.09 kB / 0.5472 GB, free: 24.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.264e-05/0.2799, allocations: 44.94 kB / 0.5472 GB, free: 24.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.752e-05/0.28, allocations: 107.3 kB / 0.5473 GB, free: 24.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.2802, allocations: 227 kB / 0.5476 GB, free: 24.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2802, allocations: 0 / 0.5476 GB, free: 24.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2802, allocations: 0 / 0.5476 GB, free: 24.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2802, allocations: 0 / 0.5476 GB, free: 24.04 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006113/0.2808, allocations: 441.5 kB / 0.548 GB, free: 23.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.2809, allocations: 9.656 kB / 0.548 GB, free: 23.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.2809, allocations: 52.52 kB / 0.548 GB, free: 23.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.2809, allocations: 33.09 kB / 0.5481 GB, free: 23.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.2812, allocations: 181.8 kB / 0.5482 GB, free: 23.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.2812, allocations: 13.88 kB / 0.5483 GB, free: 23.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.2813, allocations: 20.56 kB / 0.5483 GB, free: 23.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.2815, allocations: 192.8 kB / 0.5485 GB, free: 23.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.2816, allocations: 0 / 0.5485 GB, free: 23.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.2816, allocations: 7 kB / 0.5485 GB, free: 23.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.2816, allocations: 6.438 kB / 0.5485 GB, free: 23.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.2818, allocations: 114.2 kB / 0.5486 GB, free: 23.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009267/0.2827, allocations: 0.7147 MB / 0.5493 GB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.283, allocations: 118.4 kB / 0.5494 GB, free: 22.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.628e-05/0.2831, allocations: 56.72 kB / 0.5494 GB, free: 22.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.2831, allocations: 7.938 kB / 0.5495 GB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.2832, allocations: 94.14 kB / 0.5495 GB, free: 22.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.2832, allocations: 0 / 0.5495 GB, free: 22.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005687/0.2838, allocations: 219.8 kB / 0.5498 GB, free: 22.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.2838, allocations: 58.59 kB / 0.5498 GB, free: 22.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.2839, allocations: 187.6 kB / 0.55 GB, free: 22.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.284, allocations: 28.89 kB / 0.55 GB, free: 22.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.284, allocations: 140.5 kB / 0.5501 GB, free: 22.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.2841, allocations: 49.25 kB / 0.5502 GB, free: 22.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.2841, allocations: 37.59 kB / 0.5502 GB, free: 22.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.2842, allocations: 332.4 kB / 0.5505 GB, free: 21.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.914e-05/0.2842, allocations: 34.39 kB / 0.5506 GB, free: 21.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.2843, allocations: 69.7 kB / 0.5506 GB, free: 21.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.2844, allocations: 113.7 kB / 0.5508 GB, free: 21.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2844, allocations: 0 / 0.5508 GB, free: 21.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002535/0.2847, allocations: 180.1 kB / 0.5509 GB, free: 21.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2847, allocations: 8.75 kB / 0.5509 GB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2847, allocations: 0 / 0.5509 GB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/0.2849, allocations: 34.73 kB / 0.551 GB, free: 21.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.285, allocations: 29.77 kB / 0.551 GB, free: 21.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008375/0.2858, allocations: 1.373 MB / 0.5523 GB, free: 20.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.2859, allocations: 21 kB / 0.5524 GB, free: 20.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2859, allocations: 6.406 kB / 0.5524 GB, free: 20.1 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 8.417e-05/0.286, allocations: 132.2 kB / 0.5525 GB, free: 19.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.286, allocations: 21.25 kB / 0.5525 GB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.2861, allocations: 20.05 kB / 0.5525 GB, free: 19.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2861, allocations: 3.094 kB / 0.5525 GB, free: 19.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2861, allocations: 8 kB / 0.5525 GB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2861, allocations: 0 / 0.5525 GB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.2862, allocations: 227.3 kB / 0.5528 GB, free: 19.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2862, allocations: 0 / 0.5528 GB, free: 19.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.942e-05/0.2863, allocations: 24.14 kB / 0.5528 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.469e-05/0.2864, allocations: 35.91 kB / 0.5528 GB, free: 19.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.2864, allocations: 7.938 kB / 0.5528 GB, free: 19.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006798/0.2871, allocations: 1.366 MB / 0.5542 GB, free: 18.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2871, allocations: 0 / 0.5542 GB, free: 18.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.2874, allocations: 241.7 kB / 0.5544 GB, free: 18.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.2875, allocations: 21.33 kB / 0.5544 GB, free: 18.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.2875, allocations: 6.938 kB / 0.5544 GB, free: 18.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.2876, allocations: 13.33 kB / 0.5544 GB, free: 18.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.2876, allocations: 9.875 kB / 0.5544 GB, free: 18.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.2877, allocations: 7 kB / 0.5544 GB, free: 18.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.651e-05/0.2877, allocations: 136.5 kB / 0.5546 GB, free: 18.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2877, allocations: 4.062 kB / 0.5546 GB, free: 18.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.288, allocations: 57.64 kB / 0.5546 GB, free: 18.11 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.0004409/0.2884, allocations: 0.7665 MB / 0.5554 GB, free: 17.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003181/0.2887, allocations: 212.1 kB / 0.5556 GB, free: 17.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2887, allocations: 0 / 0.5556 GB, free: 17.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.2889, allocations: 174 kB / 0.5557 GB, free: 17.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.2892, allocations: 35.14 kB / 0.5558 GB, free: 17.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.291, allocations: 2.083 MB / 0.5578 GB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.2912, allocations: 0.7355 MB / 0.5585 GB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.204e-05/0.2912, allocations: 18.14 kB / 0.5586 GB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.2913, allocations: 56.39 kB / 0.5586 GB, free: 14.8 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2913, allocations: 0 / 0.5586 GB, free: 14.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.3243, allocations: 4.415 MB / 0.5629 GB, free: 14.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.91, allocations: 7.062 kB / 0.5629 GB, free: 14.18 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.765456080996955] Failed to read output from testmodel.py, exit status != 0: 12.01810554000258 12.032376944 11.749393302 Calling exit ...