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.001343/0.001343, 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.406/1.406, allocations: 230.6 MB / 252.7 MB, free: 8.062 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.001559/0.001559, allocations: 223.6 kB / 309.2 MB, free: 2.945 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.04184/0.04184, allocations: 8.917 MB / 374.6 MB, free: 1.727 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.002512/0.002512, allocations: 83.88 kB / 0.4891 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.273, allocations: 55.6 MB / 0.5434 GB, free: 26.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003096/0.2761, allocations: 2.342 MB / 0.5457 GB, free: 25.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009604/0.2771, allocations: 0.5743 MB / 0.5463 GB, free: 24.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.2772, allocations: 3.344 kB / 0.5463 GB, free: 24.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.2773, allocations: 33.06 kB / 0.5463 GB, free: 24.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.2775, allocations: 75.05 kB / 0.5464 GB, free: 24.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.2777, allocations: 47.31 kB / 0.5464 GB, free: 24.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.2779, allocations: 258.7 kB / 0.5467 GB, free: 24.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.2781, allocations: 51.73 kB / 0.5467 GB, free: 24.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.771e-05/0.2781, allocations: 86.97 kB / 0.5468 GB, free: 24.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.2783, allocations: 100.1 kB / 0.5469 GB, free: 24.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.2783, allocations: 18.78 kB / 0.5469 GB, free: 24.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.469e-05/0.2783, allocations: 18.59 kB / 0.5469 GB, free: 24.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.362e-05/0.2784, allocations: 37.86 kB / 0.547 GB, free: 24.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.997e-05/0.2785, allocations: 88.62 kB / 0.5471 GB, free: 24.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.2787, allocations: 232.7 kB / 0.5473 GB, free: 24.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2787, allocations: 0 / 0.5473 GB, free: 24.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2787, allocations: 7.938 kB / 0.5473 GB, free: 24.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.2787, allocations: 3.25 kB / 0.5473 GB, free: 24.14 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.0006143/0.2793, allocations: 435.6 kB / 0.5477 GB, free: 23.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2794, allocations: 9.562 kB / 0.5477 GB, free: 23.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.2794, allocations: 52.64 kB / 0.5478 GB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.2794, allocations: 25.42 kB / 0.5478 GB, free: 23.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.2797, allocations: 179 kB / 0.548 GB, free: 23.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.2797, allocations: 18.3 kB / 0.548 GB, free: 23.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.2797, allocations: 21.22 kB / 0.548 GB, free: 23.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.28, allocations: 212.2 kB / 0.5482 GB, free: 23.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.28, allocations: 0 / 0.5482 GB, free: 23.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.28, allocations: 14.72 kB / 0.5482 GB, free: 23.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.28, allocations: 3.25 kB / 0.5482 GB, free: 23.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.2802, allocations: 114.8 kB / 0.5483 GB, free: 23.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008524/0.2811, allocations: 0.6717 MB / 0.549 GB, free: 22.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.2814, allocations: 128.5 kB / 0.5491 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.844e-05/0.2814, allocations: 46.52 kB / 0.5491 GB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.2814, allocations: 3.188 kB / 0.5492 GB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.2816, allocations: 127.9 kB / 0.5493 GB, free: 22.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.2816, allocations: 0 / 0.5493 GB, free: 22.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005562/0.2822, allocations: 217.7 kB / 0.5495 GB, free: 22.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.2822, allocations: 54.59 kB / 0.5495 GB, free: 22.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.2823, allocations: 190.4 kB / 0.5497 GB, free: 22.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.2823, allocations: 32.61 kB / 0.5497 GB, free: 22.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.2824, allocations: 136.2 kB / 0.5499 GB, free: 22.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.2824, allocations: 48.94 kB / 0.5499 GB, free: 22.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.2825, allocations: 36.73 kB / 0.55 GB, free: 22.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.113e-05/0.2825, allocations: 327 kB / 0.5503 GB, free: 21.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.35e-05/0.2826, allocations: 32.84 kB / 0.5503 GB, free: 21.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.386e-05/0.2827, allocations: 81.17 kB / 0.5504 GB, free: 21.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.2828, allocations: 115.9 kB / 0.5505 GB, free: 21.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2828, allocations: 0 / 0.5505 GB, free: 21.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002566/0.2831, allocations: 178 kB / 0.5507 GB, free: 21.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2831, allocations: 9.609 kB / 0.5507 GB, free: 21.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2831, allocations: 4.125 kB / 0.5507 GB, free: 21.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/0.2832, allocations: 28.7 kB / 0.5507 GB, free: 21.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.883e-05/0.2833, allocations: 30.5 kB / 0.5507 GB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007692/0.2841, allocations: 1.369 MB / 0.5521 GB, free: 20.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.2842, allocations: 17.77 kB / 0.5521 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.2842, allocations: 10.66 kB / 0.5521 GB, free: 20.17 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 7.903e-05/0.2843, allocations: 128.3 kB / 0.5522 GB, free: 20.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.2843, allocations: 25.16 kB / 0.5522 GB, free: 20.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.2844, allocations: 19.28 kB / 0.5523 GB, free: 20.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2844, allocations: 2.938 kB / 0.5523 GB, free: 20.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.2844, allocations: 0 / 0.5523 GB, free: 20.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2844, allocations: 0 / 0.5523 GB, free: 20.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.2845, allocations: 216.4 kB / 0.5525 GB, free: 19.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2845, allocations: 0 / 0.5525 GB, free: 19.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.379e-05/0.2846, allocations: 22.77 kB / 0.5525 GB, free: 19.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.536e-05/0.2847, allocations: 42.34 kB / 0.5525 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.2847, allocations: 3.938 kB / 0.5525 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006663/0.2854, allocations: 1.356 MB / 0.5539 GB, free: 18.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2854, allocations: 3.516 kB / 0.5539 GB, free: 18.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.2857, allocations: 237.9 kB / 0.5541 GB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.2858, allocations: 21.98 kB / 0.5541 GB, free: 18.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.2858, allocations: 7.938 kB / 0.5541 GB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2859, allocations: 17.73 kB / 0.5541 GB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.2859, allocations: 17.28 kB / 0.5541 GB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.2859, allocations: 3.156 kB / 0.5542 GB, free: 18.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.234e-05/0.286, allocations: 132 kB / 0.5543 GB, free: 18.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.286, allocations: 3.938 kB / 0.5543 GB, free: 18.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.2863, allocations: 57.42 kB / 0.5543 GB, free: 18.19 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.0004581/0.2867, allocations: 0.7641 MB / 0.5551 GB, free: 17.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003162/0.287, allocations: 219 kB / 0.5553 GB, free: 17.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.287, allocations: 2.969 kB / 0.5553 GB, free: 17.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.2872, allocations: 170.4 kB / 0.5555 GB, free: 17.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.2874, allocations: 27.77 kB / 0.5555 GB, free: 17.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.2893, allocations: 2.086 MB / 0.5575 GB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.233e-05/0.2894, allocations: 122.9 kB / 0.5576 GB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.65e-05/0.2894, allocations: 18.22 kB / 0.5577 GB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.2895, allocations: 52.02 kB / 0.5577 GB, free: 15.51 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2895, allocations: 0 / 0.5577 GB, free: 15.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03565/0.3252, allocations: 4.985 MB / 0.5626 GB, free: 14.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.66, allocations: 3.859 kB / 0.5626 GB, free: 14.36 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Thermal_Coupling_fmu --startTime=0 --stopTime=400 --stepSize=0.1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Thermal_Coupling.fmu > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.25689810095355] Failed to read output from testmodel.py, exit status != 0: 11.771298702340573 11.79193628 11.510302790999999 Calling exit ...