Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.TestLongRod.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.0007911/0.0007911, allocations: 72.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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 0.8826/0.8826, allocations: 177.1 MB / 199.4 MB, free: 5.949 MB / 186.7 MB " [Timeout remaining time 179] 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.00101/0.00101, allocations: 155.2 kB / 256 MB, free: 13.35 MB / 250.7 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.02243/0.02243, allocations: 6.666 MB / 319 MB, free: 26.77 MB / 266.7 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.TestLongRod,fileNamePrefix="HanserModelica_HanserModelica_Thermal_TestLongRod",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.TestLongRod,fileNamePrefix="HanserModelica_HanserModelica_Thermal_TestLongRod",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 445.4 MB, free: 37.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.429e-05, allocations: 5.234 kB / 445.4 MB, free: 37.65 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002441/0.002456, allocations: 1.943 MB / 447.3 MB, free: 35.7 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003649/0.00282, allocations: 163.5 kB / 447.5 MB, free: 35.54 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.193e-05/0.002902, allocations: 4 kB / 447.5 MB, free: 35.53 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.003032, allocations: 23.72 kB / 447.5 MB, free: 35.51 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.003218, allocations: 83.33 kB / 447.6 MB, free: 35.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.00337, allocations: 35.95 kB / 447.6 MB, free: 35.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003557/0.003725, allocations: 0.5094 MB / 448.1 MB, free: 34.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.003909, allocations: 154.2 kB / 448.3 MB, free: 34.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.004039, allocations: 283.5 kB / 448.6 MB, free: 34.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.004178, allocations: 179.7 kB / 448.7 MB, free: 34.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.004216, allocations: 48 kB / 448.8 MB, free: 34.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.287e-05/0.004249, allocations: 51.94 kB / 448.8 MB, free: 34.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.004309, allocations: 95.73 kB / 448.9 MB, free: 34.08 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.072e-05/0.00438, allocations: 159.6 kB / 449.1 MB, free: 33.93 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.004619, allocations: 0.5494 MB / 449.6 MB, free: 33.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004621, allocations: 0 / 449.6 MB, free: 33.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.004622, allocations: 0 / 449.6 MB, free: 33.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.004627, allocations: 4 kB / 449.6 MB, free: 33.37 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0005551/0.005182, allocations: 0.5755 MB / 450.2 MB, free: 32.76 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.005218, allocations: 8.031 kB / 450.2 MB, free: 32.75 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.00526, allocations: 70.72 kB / 450.3 MB, free: 32.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.005299, allocations: 36.7 kB / 450.3 MB, free: 32.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.005506, allocations: 257.3 kB / 450.6 MB, free: 32.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.005518, allocations: 21.03 kB / 450.6 MB, free: 32.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.005551, allocations: 28.38 kB / 450.6 MB, free: 32.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.005903, allocations: 390.5 kB / 451 MB, free: 31.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.005916, allocations: 4.188 kB / 451 MB, free: 31.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.005934, allocations: 12.36 kB / 451 MB, free: 31.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.005954, allocations: 20.78 kB / 451 MB, free: 31.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.006268, allocations: 358.4 kB / 451.4 MB, free: 31.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000799/0.007067, allocations: 0.9916 MB / 452.4 MB, free: 30.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.007447, allocations: 370.5 kB / 452.7 MB, free: 30.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.007593, allocations: 187.1 kB / 452.9 MB, free: 29.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.007605, allocations: 0 / 452.9 MB, free: 29.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.181e-05/0.007617, allocations: 38.56 kB / 453 MB, free: 29.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 9.91e-07/0.007618, allocations: 0 / 453 MB, free: 29.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007653/0.008384, allocations: 0.6209 MB / 453.6 MB, free: 29.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/0.008403, allocations: 55.41 kB / 453.6 MB, free: 29.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.008514, allocations: 219.5 kB / 453.8 MB, free: 28.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.008531, allocations: 29.7 kB / 453.9 MB, free: 28.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.008575, allocations: 168.6 kB / 454 MB, free: 28.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.008613, allocations: 83.66 kB / 454.1 MB, free: 28.69 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.008654, allocations: 53.64 kB / 454.2 MB, free: 28.63 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.61e-05/0.00869, allocations: 338.8 kB / 454.5 MB, free: 28.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.575e-05/0.008786, allocations: 111.9 kB / 454.6 MB, free: 28.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.263e-05/0.008878, allocations: 119.9 kB / 454.7 MB, free: 28.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.009086, allocations: 276.6 kB / 455 MB, free: 27.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.009087, allocations: 0 / 455 MB, free: 27.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003562/0.009444, allocations: 435.7 kB / 455.4 MB, free: 27.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.009457, allocations: 10.48 kB / 455.4 MB, free: 27.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.009461, allocations: 4 kB / 455.4 MB, free: 27.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002325/0.009694, allocations: 130.4 kB / 455.6 MB, free: 27.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.819e-05/0.009782, allocations: 39.91 kB / 455.6 MB, free: 27.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.01138, allocations: 4.839 MB / 460.4 MB, free: 21.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.638e-05/0.01144, allocations: 23.91 kB / 460.5 MB, free: 21.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.01145, allocations: 8 kB / 460.5 MB, free: 21.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.01155, allocations: 198.6 kB / 460.7 MB, free: 21.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.01157, allocations: 27.86 kB / 460.7 MB, free: 21.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.0116, allocations: 25.97 kB / 460.7 MB, free: 21.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.0116, allocations: 0 / 460.7 MB, free: 21.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.0116, allocations: 11.92 kB / 460.7 MB, free: 21.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.01161, allocations: 0 / 460.7 MB, free: 21.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.01182, allocations: 356.5 kB / 461.1 MB, free: 21.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01182, allocations: 4 kB / 461.1 MB, free: 21.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.951e-05/0.01192, allocations: 39.91 kB / 461.1 MB, free: 21.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001546/0.01207, allocations: 134.5 kB / 461.3 MB, free: 21.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.01209, allocations: 8 kB / 461.3 MB, free: 21.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/0.01348, allocations: 4.843 MB / 466.1 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01348, allocations: 0 / 466.1 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004398/0.01392, allocations: 0.6524 MB / 466.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.01394, allocations: 32 kB / 466.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.01396, allocations: 11.94 kB / 466.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/0.01402, allocations: 11.98 kB / 466.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.01406, allocations: 19.91 kB / 466.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.01406, allocations: 8 kB / 466.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.743e-05/0.01413, allocations: 165.1 kB / 467 MB, free: 15 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01413, allocations: 0 / 467 MB, free: 15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003101/0.01444, allocations: 107.7 kB / 467.1 MB, free: 14.89 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (longRod.shortRod[1].heatCapacitor.T,longRod.shortRod[2].heatCapacitor.T,longRod.shortRod[3].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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,3,100.0%), (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.0005209/0.01496, allocations: 1.205 MB / 468.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004138/0.01538, allocations: 0.6442 MB / 469 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01538, allocations: 4 kB / 469 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.0156, allocations: 0.5115 MB / 469.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.01583, allocations: 52.23 kB / 469.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.01798, allocations: 3.447 MB / 473 MB, free: 8.816 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.01809, allocations: 243.1 kB / 473.2 MB, free: 8.559 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.833e-05/0.01816, allocations: 49.89 kB / 473.3 MB, free: 8.512 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.015e-05/0.01823, allocations: 84.47 kB / 473.3 MB, free: 8.43 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01823, allocations: 0 / 473.3 MB, free: 8.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.04108, allocations: 8.311 MB / 481.7 MB, free: 292 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.015/7.056, allocations: 0 / 481.7 MB, free: 292 kB / 330.7 MB " [Timeout remaining time 653] (rm -f HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.TestLongRod.pipe >> ../files/HanserModelica_HanserModelica.Thermal.TestLongRod.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Thermal_TestLongRod_fmu --startTime=0 --stopTime=400 --stepSize=0.1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Thermal_TestLongRod.fmu > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.913601318374276] Failed to read output from testmodel.py, exit status != 0: 7.143099270761013 7.152830119 7.146467918 Calling exit ...