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.001731/0.001731, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.676/1.676, allocations: 230.6 MB / 253.4 MB, free: 14.44 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.00218/0.00218, allocations: 210 kB / 310 MB, free: 3.148 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.04201/0.04201, allocations: 8.911 MB / 375.4 MB, free: 6.742 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.Network,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Network",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.002581/0.002581, allocations: 84.11 kB / 0.49 GB, free: 44.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.142, allocations: 55.62 MB / 0.5443 GB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.003633/0.1456, allocations: 1.749 MB / 0.546 GB, free: 3.438 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003691/0.146, allocations: 99.69 kB / 0.5461 GB, free: 3.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.1461, allocations: 0 / 0.5461 GB, free: 3.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 8.122e-05/0.1461, allocations: 15.86 kB / 0.5461 GB, free: 3.324 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.1463, allocations: 43.61 kB / 0.5461 GB, free: 3.281 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.1465, allocations: 19.98 kB / 0.5461 GB, free: 3.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.1467, allocations: 119.4 kB / 0.5463 GB, free: 3.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.1469, allocations: 28.27 kB / 0.5463 GB, free: 3.117 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.885e-05/0.147, allocations: 47.84 kB / 0.5463 GB, free: 3.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1471, allocations: 47.78 kB / 0.5464 GB, free: 3.023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.1471, allocations: 8 kB / 0.5464 GB, free: 3.016 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.635e-05/0.1472, allocations: 12 kB / 0.5464 GB, free: 3.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.586e-05/0.1472, allocations: 19.92 kB / 0.5464 GB, free: 2.984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.842e-05/0.1473, allocations: 47.8 kB / 0.5465 GB, free: 2.938 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.1475, allocations: 119.5 kB / 0.5466 GB, free: 2.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1475, allocations: 0 / 0.5466 GB, free: 2.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1475, allocations: 4 kB / 0.5466 GB, free: 2.816 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1475, allocations: 0 / 0.5466 GB, free: 2.816 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006902/0.1482, allocations: 318 kB / 0.5469 GB, free: 2.473 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.369e-05/0.1483, allocations: 11.98 kB / 0.5469 GB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.387e-05/0.1483, allocations: 4.188 kB / 0.5469 GB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.951e-05/0.1484, allocations: 38.75 kB / 0.5469 GB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.1484, allocations: 12.88 kB / 0.5469 GB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.1486, allocations: 122.4 kB / 0.5471 GB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.1486, allocations: 8.375 kB / 0.5471 GB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.1486, allocations: 12.38 kB / 0.5471 GB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.1489, allocations: 102 kB / 0.5472 GB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1489, allocations: 0 / 0.5472 GB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1489, allocations: 0 / 0.5472 GB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1489, allocations: 4 kB / 0.5472 GB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.1491, allocations: 59.91 kB / 0.5472 GB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009083/0.15, allocations: 472.5 kB / 0.5477 GB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.1502, allocations: 78.56 kB / 0.5478 GB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.426e-05/0.1503, allocations: 40.83 kB / 0.5478 GB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1503, allocations: 0 / 0.5478 GB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.1504, allocations: 30.56 kB / 0.5478 GB, free: 1.379 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.1504, allocations: 0 / 0.5478 GB, free: 1.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006054/0.151, allocations: 158.4 kB / 0.548 GB, free: 1.215 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/0.1511, allocations: 55.41 kB / 0.548 GB, free: 1.148 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.1512, allocations: 117.8 kB / 0.5482 GB, free: 1.023 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1512, allocations: 26.08 kB / 0.5482 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.204e-05/0.1513, allocations: 108 kB / 0.5483 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.1513, allocations: 39.67 kB / 0.5483 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.1514, allocations: 17.72 kB / 0.5483 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1516, allocations: 322.8 kB / 0.5486 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-05/0.1516, allocations: 15.98 kB / 0.5487 GB, free: 492 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.1517, allocations: 33.7 kB / 0.5487 GB, free: 452 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.505e-05/0.1518, allocations: 61.59 kB / 0.5487 GB, free: 384 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1518, allocations: 8 kB / 0.5488 GB, free: 376 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002163/0.152, allocations: 102.5 kB / 0.5489 GB, free: 264 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.152, allocations: 4 kB / 0.5489 GB, free: 260 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.152, allocations: 4 kB / 0.5489 GB, free: 256 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.1522, allocations: 24.84 kB / 0.5489 GB, free: 228 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.138e-05/0.1523, allocations: 15.98 kB / 0.5489 GB, free: 212 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.1536, allocations: 1.323 MB / 0.5502 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.1537, allocations: 7.984 kB / 0.5502 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1537, allocations: 8.047 kB / 0.5502 GB, free: 14.75 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 0.0001253/0.1538, allocations: 125.8 kB / 0.5503 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.1538, allocations: 3.938 kB / 0.5503 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.1539, allocations: 12.38 kB / 0.5503 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1539, allocations: 144 / 0.5503 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.1539, allocations: 0 / 0.5503 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.1539, allocations: 3.984 kB / 0.5503 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.1541, allocations: 180.6 kB / 0.5505 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1541, allocations: 4.219 kB / 0.5505 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-05/0.1542, allocations: 20 kB / 0.5505 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.414e-05/0.1543, allocations: 24.84 kB / 0.5506 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1543, allocations: 3.938 kB / 0.5506 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.1555, allocations: 1.307 MB / 0.5518 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1555, allocations: 0 / 0.5518 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.1558, allocations: 228.2 kB / 0.5521 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.1558, allocations: 12.11 kB / 0.5521 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.1558, allocations: 3.938 kB / 0.5521 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.1559, allocations: 4 kB / 0.5521 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.1559, allocations: 7.984 kB / 0.5521 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1559, allocations: 0 / 0.5521 GB, free: 12.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.167e-05/0.156, allocations: 91.27 kB / 0.5522 GB, free: 12.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.156, allocations: 0 / 0.5522 GB, free: 12.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1562, allocations: 35.88 kB / 0.5522 GB, free: 12.51 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.0006735/0.1569, allocations: 0.7563 MB / 0.553 GB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003589/0.1573, allocations: 166.6 kB / 0.5531 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1573, allocations: 0 / 0.5531 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.1575, allocations: 150.7 kB / 0.5533 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.1578, allocations: 21.38 kB / 0.5533 GB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.1597, allocations: 1.568 MB / 0.5548 GB, free: 9.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.1601, allocations: 0.7041 MB / 0.5555 GB, free: 8.977 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.825e-05/0.1601, allocations: 0.6719 kB / 0.5555 GB, free: 8.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.715e-05/0.1601, allocations: 31.41 kB / 0.5555 GB, free: 8.945 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1601, allocations: 0 / 0.5555 GB, free: 8.945 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/0.1977, allocations: 2.584 MB / 0.558 GB, free: 6.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.59, allocations: 10.92 kB / 0.5581 GB, free: 6.488 MB / 382.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Thermal_Network_fmu --startTime=0 --stopTime=400 --stepSize=0.1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Thermal_Network.fmu > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.214762406074442] Failed to read output from testmodel.py, exit status != 0: 12.754268396063708 13.083035118 12.931885777 Calling exit ...