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.0007743/0.0007743, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.8401/0.8401, allocations: 177.2 MB / 200.2 MB, free: 5.938 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.0009373/0.0009373, allocations: 152.6 kB / 256.7 MB, free: 13.34 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.02167/0.02167, allocations: 6.66 MB / 319.8 MB, free: 26.79 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: translateModel(HanserModelica.Thermal.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") translateModel(HanserModelica.Thermal.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 446.6 MB, free: 37.16 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.81e-05, allocations: 5.094 kB / 446.6 MB, free: 37.16 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003/0.003018, allocations: 2.331 MB / 449 MB, free: 34.81 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009334/0.003951, allocations: 0.5843 MB / 449.6 MB, free: 34.22 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.004077, allocations: 4 kB / 449.6 MB, free: 34.22 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.004217, allocations: 35.66 kB / 449.6 MB, free: 34.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.004359, allocations: 79.33 kB / 449.7 MB, free: 34.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.004571, allocations: 51.86 kB / 449.7 MB, free: 34.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.004814, allocations: 262.6 kB / 450 MB, free: 33.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.004978, allocations: 58.59 kB / 450 MB, free: 33.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.00513, allocations: 139.6 kB / 450.2 MB, free: 33.61 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.005259, allocations: 71.8 kB / 450.2 MB, free: 33.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.005301, allocations: 16 kB / 450.3 MB, free: 33.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.989e-05/0.00533, allocations: 24 kB / 450.3 MB, free: 33.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/0.005368, allocations: 43.77 kB / 450.3 MB, free: 33.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.511e-05/0.005443, allocations: 79.83 kB / 450.4 MB, free: 33.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.005678, allocations: 227.3 kB / 450.6 MB, free: 33.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.00568, allocations: 0 / 450.6 MB, free: 33.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005681, allocations: 4 kB / 450.6 MB, free: 33.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.005686, allocations: 3.938 kB / 450.6 MB, free: 33.15 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006257/0.006312, allocations: 437.2 kB / 451.1 MB, free: 32.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.00635, allocations: 12.03 kB / 451.1 MB, free: 32.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.006409, allocations: 24.8 kB / 451.1 MB, free: 32.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.006649, allocations: 181.3 kB / 451.3 MB, free: 32.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.006667, allocations: 12.38 kB / 451.3 MB, free: 32.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.006704, allocations: 16.38 kB / 451.3 MB, free: 32.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.007002, allocations: 217.4 kB / 451.5 MB, free: 32.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.007018, allocations: 192 / 451.5 MB, free: 32.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.007041, allocations: 12.36 kB / 451.5 MB, free: 32.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.007048, allocations: 7.938 kB / 451.5 MB, free: 32.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.007261, allocations: 112 kB / 451.6 MB, free: 32.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008522/0.008114, allocations: 0.6312 MB / 452.3 MB, free: 31.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.008385, allocations: 122.6 kB / 452.4 MB, free: 31.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.008438, allocations: 44.83 kB / 452.4 MB, free: 31.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.008451, allocations: 4 kB / 452.4 MB, free: 31.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.008557, allocations: 129 kB / 452.6 MB, free: 31.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.614e-06/0.008559, allocations: 0 / 452.6 MB, free: 31.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004024/0.008961, allocations: 209.9 kB / 452.8 MB, free: 30.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.008986, allocations: 55.41 kB / 452.8 MB, free: 30.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.702e-05/0.009063, allocations: 174.3 kB / 453 MB, free: 30.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.009072, allocations: 25.7 kB / 453 MB, free: 30.58 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.00912, allocations: 140.4 kB / 453.2 MB, free: 30.44 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.009141, allocations: 59.53 kB / 453.2 MB, free: 30.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.009175, allocations: 33.7 kB / 453.3 MB, free: 30.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.852e-05/0.009204, allocations: 330.8 kB / 453.6 MB, free: 30.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.202e-05/0.009246, allocations: 31.98 kB / 453.6 MB, free: 29.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-05/0.009293, allocations: 77.81 kB / 453.7 MB, free: 29.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.231e-05/0.009385, allocations: 108.2 kB / 453.8 MB, free: 29.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.009387, allocations: 0 / 453.8 MB, free: 29.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001693/0.009556, allocations: 182.2 kB / 454 MB, free: 29.58 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.009567, allocations: 8 kB / 454 MB, free: 29.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.009572, allocations: 0 / 454 MB, free: 29.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.009705, allocations: 36.83 kB / 454 MB, free: 29.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.366e-05/0.009769, allocations: 27.92 kB / 454 MB, free: 29.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005273/0.0103, allocations: 1.335 MB / 455.4 MB, free: 28.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.304e-05/0.01035, allocations: 23.81 kB / 455.4 MB, free: 28.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.01036, allocations: 4 kB / 455.4 MB, free: 28.03 MB / 330.7 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 6.134e-05/0.01042, allocations: 134 kB / 455.5 MB, free: 27.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.01043, allocations: 15.84 kB / 455.5 MB, free: 27.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.721e-05/0.01045, allocations: 21.45 kB / 455.6 MB, free: 27.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01045, allocations: 4 kB / 455.6 MB, free: 27.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.01045, allocations: 0 / 455.6 MB, free: 27.85 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01045, allocations: 4 kB / 455.6 MB, free: 27.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.388e-05/0.01055, allocations: 185.2 kB / 455.8 MB, free: 27.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01055, allocations: 0 / 455.8 MB, free: 27.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.0106, allocations: 19.94 kB / 455.8 MB, free: 27.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.73e-05/0.01067, allocations: 32.83 kB / 455.8 MB, free: 27.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.01068, allocations: 7.938 kB / 455.8 MB, free: 27.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000416/0.01109, allocations: 1.335 MB / 457.1 MB, free: 26.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.0111, allocations: 64 / 457.1 MB, free: 26.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.0113, allocations: 240.2 kB / 457.4 MB, free: 25.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.01133, allocations: 19.92 kB / 457.4 MB, free: 25.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.01134, allocations: 4 kB / 457.4 MB, free: 25.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.104e-05/0.01139, allocations: 11.98 kB / 457.4 MB, free: 25.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.01143, allocations: 15.98 kB / 457.4 MB, free: 25.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.01144, allocations: 4.125 kB / 457.4 MB, free: 25.83 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.312e-05/0.01148, allocations: 123.2 kB / 457.6 MB, free: 25.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01148, allocations: 0 / 457.6 MB, free: 25.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001644/0.01164, allocations: 55.89 kB / 457.6 MB, free: 25.65 MB / 330.7 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 6.129e-05/0.01171, allocations: 103.3 kB / 457.7 MB, free: 25.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.01193, allocations: 218.5 kB / 457.9 MB, free: 25.31 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01193, allocations: 0 / 457.9 MB, free: 25.31 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.556e-05/0.01202, allocations: 174.6 kB / 458.1 MB, free: 25.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.01219, allocations: 38.92 kB / 458.1 MB, free: 25.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.01262, allocations: 423.8 kB / 458.6 MB, free: 24.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.051e-05/0.01268, allocations: 124.9 kB / 458.7 MB, free: 24.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.0127, allocations: 16.5 kB / 458.7 MB, free: 24.49 MB / 330.7 MB Notification: Performance of SimCode: time 6.52e-07/0.0127, allocations: 0 / 458.7 MB, free: 24.49 MB / 330.7 MB Notification: Performance of Templates: time 0.002698/0.0154, allocations: 3.017 MB / 461.7 MB, free: 21.48 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Thermal.Coupling.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.Thermal.Coupling -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.600979628972709] Failed to read output from testmodel.py, exit status != 0: 0.020959743298590183 0.025837113000000002 0.018791397 Calling exit ...