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.001596/0.001596, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.615/1.615, allocations: 230.6 MB / 250.5 MB, free: 9.215 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.002746/0.002746, allocations: 216.3 kB / 306.7 MB, free: 4.293 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.04139/0.04139, allocations: 8.908 MB / 371.7 MB, free: 3.43 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.Coupling,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Coupling",fmuType="cs",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.002611/0.002611, allocations: 87.86 kB / 496.4 MB, free: 9.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.424, allocations: 55.55 MB / 0.5391 GB, free: 26.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003643/0.4277, allocations: 2.464 MB / 0.5415 GB, free: 24.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.4289, allocations: 0.6101 MB / 0.5421 GB, free: 24.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.429, allocations: 7.094 kB / 0.5421 GB, free: 24.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.4292, allocations: 33.12 kB / 0.5421 GB, free: 24.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.4294, allocations: 71.45 kB / 0.5422 GB, free: 24.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.4296, allocations: 55.17 kB / 0.5422 GB, free: 24.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.4299, allocations: 253.3 kB / 0.5425 GB, free: 24.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.4301, allocations: 55.14 kB / 0.5425 GB, free: 24.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.605e-05/0.4302, allocations: 95.41 kB / 0.5426 GB, free: 24.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.4303, allocations: 95.91 kB / 0.5427 GB, free: 24.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.4303, allocations: 18.84 kB / 0.5427 GB, free: 24.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.355e-05/0.4304, allocations: 18.66 kB / 0.5427 GB, free: 24.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.4304, allocations: 44.92 kB / 0.5428 GB, free: 24.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.244e-05/0.4305, allocations: 108.9 kB / 0.5429 GB, free: 24.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.4308, allocations: 227.9 kB / 0.5431 GB, free: 23.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.4308, allocations: 3.031 kB / 0.5431 GB, free: 23.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4308, allocations: 4 kB / 0.5431 GB, free: 23.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.4308, allocations: 3.938 kB / 0.5431 GB, free: 23.91 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.0008101/0.4316, allocations: 0.5018 MB / 0.5436 GB, free: 23.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.4317, allocations: 9.562 kB / 0.5436 GB, free: 23.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.799e-05/0.4317, allocations: 6.5 kB / 0.5436 GB, free: 23.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.4318, allocations: 52.47 kB / 0.5437 GB, free: 23.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.218e-05/0.4318, allocations: 29.89 kB / 0.5437 GB, free: 23.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.4322, allocations: 241.8 kB / 0.5439 GB, free: 23.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.4322, allocations: 10.78 kB / 0.5439 GB, free: 23.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.4322, allocations: 21 kB / 0.5439 GB, free: 23.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.4326, allocations: 198 kB / 0.5441 GB, free: 23.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.4326, allocations: 0 / 0.5441 GB, free: 23.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.4326, allocations: 7.156 kB / 0.5441 GB, free: 23.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.4326, allocations: 3.219 kB / 0.5441 GB, free: 23.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.4328, allocations: 117.1 kB / 0.5443 GB, free: 22.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.4338, allocations: 0.737 MB / 0.545 GB, free: 22.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.4341, allocations: 125.8 kB / 0.5451 GB, free: 22.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.618e-05/0.4342, allocations: 52.69 kB / 0.5451 GB, free: 22.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.4342, allocations: 3.188 kB / 0.5451 GB, free: 22.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.4344, allocations: 92.56 kB / 0.5452 GB, free: 22.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.4344, allocations: 0 / 0.5452 GB, free: 22.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006387/0.435, allocations: 297.2 kB / 0.5455 GB, free: 22.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.435, allocations: 54.38 kB / 0.5456 GB, free: 22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.4352, allocations: 194.6 kB / 0.5458 GB, free: 21.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.4352, allocations: 33.11 kB / 0.5458 GB, free: 21.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.4353, allocations: 140.5 kB / 0.5459 GB, free: 21.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.4353, allocations: 49.44 kB / 0.546 GB, free: 21.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.4353, allocations: 34.86 kB / 0.546 GB, free: 21.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.4354, allocations: 325.6 kB / 0.5463 GB, free: 21.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.573e-05/0.4355, allocations: 35.12 kB / 0.5463 GB, free: 21.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/0.4356, allocations: 68.69 kB / 0.5464 GB, free: 21.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.4357, allocations: 114.2 kB / 0.5465 GB, free: 21.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4357, allocations: 0 / 0.5465 GB, free: 21.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002642/0.436, allocations: 185.9 kB / 0.5467 GB, free: 21.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.436, allocations: 10.47 kB / 0.5467 GB, free: 21.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.436, allocations: 0 / 0.5467 GB, free: 21.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/0.4362, allocations: 35.5 kB / 0.5467 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.4363, allocations: 29.55 kB / 0.5468 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009275/0.4372, allocations: 1.473 MB / 0.5482 GB, free: 19.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.4373, allocations: 18.11 kB / 0.5482 GB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.4373, allocations: 13.91 kB / 0.5482 GB, free: 19.57 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 9.504e-05/0.4374, allocations: 128.2 kB / 0.5484 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.4375, allocations: 25.25 kB / 0.5484 GB, free: 19.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.4375, allocations: 20.59 kB / 0.5484 GB, free: 19.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4375, allocations: 9.938 kB / 0.5484 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4375, allocations: 0 / 0.5484 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4375, allocations: 0 / 0.5484 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.4377, allocations: 256.7 kB / 0.5487 GB, free: 19.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4377, allocations: 3.938 kB / 0.5487 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.4378, allocations: 19.08 kB / 0.5487 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/0.4379, allocations: 34.97 kB / 0.5487 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.438, allocations: 7.031 kB / 0.5487 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007791/0.4387, allocations: 1.462 MB / 0.5501 GB, free: 17.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4387, allocations: 3.234 kB / 0.5502 GB, free: 17.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.4391, allocations: 229 kB / 0.5504 GB, free: 17.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/0.4391, allocations: 108.8 kB / 0.5505 GB, free: 17.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.4391, allocations: 4 kB / 0.5505 GB, free: 17.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.4392, allocations: 13 kB / 0.5505 GB, free: 17.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.4393, allocations: 21.3 kB / 0.5505 GB, free: 17.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.4393, allocations: 3.188 kB / 0.5505 GB, free: 17.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.766e-05/0.4394, allocations: 131 kB / 0.5506 GB, free: 17.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4394, allocations: 0 / 0.5506 GB, free: 17.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.4397, allocations: 56.39 kB / 0.5507 GB, free: 17.32 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.0005446/0.4402, allocations: 0.7715 MB / 0.5514 GB, free: 16.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003603/0.4406, allocations: 217.4 kB / 0.5517 GB, free: 16.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4406, allocations: 0 / 0.5517 GB, free: 16.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.4408, allocations: 168.6 kB / 0.5518 GB, free: 16.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.4411, allocations: 45.72 kB / 0.5519 GB, free: 16.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.4431, allocations: 2.088 MB / 0.5539 GB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.4433, allocations: 0.7244 MB / 0.5546 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.03e-05/0.4434, allocations: 18.03 kB / 0.5546 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.016e-05/0.4435, allocations: 55.12 kB / 0.5547 GB, free: 14.01 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4435, allocations: 0 / 0.5547 GB, free: 14.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.039/0.4825, allocations: 4.292 MB / 0.5589 GB, free: 13.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.94, allocations: 10.88 kB / 0.5589 GB, free: 13.37 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: 15.134020421013702] Failed to read output from testmodel.py, exit status != 0: 12.088004652003292 12.105339442 11.670400124 Calling exit ...