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.0007973/0.0007973, 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.8608/0.8608, allocations: 177.2 MB / 200.2 MB, free: 5.93 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.001016/0.001016, allocations: 160.6 kB / 256.7 MB, free: 13.33 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.023/0.023, allocations: 6.667 MB / 319.8 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: translateModel(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") translateModel(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 446.6 MB, free: 37.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.028e-05, allocations: 2.281 kB / 446.6 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.001528/0.001548, allocations: 1.686 MB / 448.3 MB, free: 35.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002048/0.001753, allocations: 99.59 kB / 448.4 MB, free: 35.35 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.001797, allocations: 4 kB / 448.4 MB, free: 35.35 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.293e-05/0.00184, allocations: 11.86 kB / 448.4 MB, free: 35.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.602e-05/0.001896, allocations: 39.64 kB / 448.5 MB, free: 35.3 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.002018, allocations: 27.91 kB / 448.5 MB, free: 35.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.308e-05/0.002101, allocations: 119.3 kB / 448.6 MB, free: 35.15 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.002218, allocations: 27.98 kB / 448.6 MB, free: 35.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.09e-05/0.002269, allocations: 67.86 kB / 448.7 MB, free: 35.06 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.632e-05/0.002335, allocations: 31.91 kB / 448.7 MB, free: 35.03 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.00236, allocations: 8 kB / 448.8 MB, free: 35.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.002372, allocations: 12 kB / 448.8 MB, free: 35.01 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.00239, allocations: 19.91 kB / 448.8 MB, free: 34.99 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.002417, allocations: 39.91 kB / 448.8 MB, free: 34.95 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.002521, allocations: 107.7 kB / 448.9 MB, free: 34.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.002523, allocations: 7.938 kB / 448.9 MB, free: 34.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.002524, allocations: 0 / 448.9 MB, free: 34.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.002528, allocations: 3.938 kB / 448.9 MB, free: 34.83 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0003107/0.002839, allocations: 321.9 kB / 449.3 MB, free: 34.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.002872, allocations: 12.03 kB / 449.3 MB, free: 34.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.002901, allocations: 8.891 kB / 449.3 MB, free: 34.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.767e-05/0.002959, allocations: 117.7 kB / 449.4 MB, free: 34.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.002971, allocations: 8.375 kB / 449.4 MB, free: 34.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.002994, allocations: 16.38 kB / 449.4 MB, free: 34.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.003115, allocations: 94.03 kB / 449.5 MB, free: 34.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.003127, allocations: 4.172 kB / 449.5 MB, free: 34.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.003137, allocations: 4.375 kB / 449.5 MB, free: 34.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.003141, allocations: 384 / 449.5 MB, free: 34.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.102e-05/0.003222, allocations: 63.91 kB / 449.6 MB, free: 34.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.003623, allocations: 336.2 kB / 449.9 MB, free: 33.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.00378, allocations: 78.55 kB / 450 MB, free: 33.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.003818, allocations: 36.84 kB / 450 MB, free: 33.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.003828, allocations: 3.938 kB / 450 MB, free: 33.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.959e-06/0.003838, allocations: 38.56 kB / 450.1 MB, free: 33.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.003839, allocations: 0 / 450.1 MB, free: 33.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.000301/0.00414, allocations: 146.5 kB / 450.2 MB, free: 33.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/0.00416, allocations: 55.34 kB / 450.3 MB, free: 33.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.785e-05/0.004198, allocations: 109.8 kB / 450.4 MB, free: 33.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.004203, allocations: 29.7 kB / 450.4 MB, free: 33.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.004233, allocations: 115.9 kB / 450.5 MB, free: 33.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/0.004246, allocations: 23.75 kB / 450.5 MB, free: 33.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.00427, allocations: 25.7 kB / 450.6 MB, free: 33.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.104e-05/0.004291, allocations: 318.8 kB / 450.9 MB, free: 32.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/0.004313, allocations: 15.98 kB / 450.9 MB, free: 32.72 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.00434, allocations: 29.72 kB / 450.9 MB, free: 32.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.527e-05/0.004395, allocations: 69.77 kB / 451 MB, free: 32.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.004398, allocations: 4 kB / 451 MB, free: 32.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001105/0.004509, allocations: 110.4 kB / 451.1 MB, free: 32.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.004519, allocations: 6.812 kB / 451.1 MB, free: 32.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.004523, allocations: 4 kB / 451.1 MB, free: 32.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001137/0.004637, allocations: 24.84 kB / 451.1 MB, free: 32.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.133e-05/0.004678, allocations: 19.88 kB / 451.1 MB, free: 32.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004885/0.005167, allocations: 1.296 MB / 452.4 MB, free: 31.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.005186, allocations: 11.97 kB / 452.5 MB, free: 31.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.005191, allocations: 4.031 kB / 452.5 MB, free: 31.02 MB / 330.7 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 4.656e-05/0.005237, allocations: 121.8 kB / 452.6 MB, free: 30.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.005251, allocations: 7.953 kB / 452.6 MB, free: 30.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.253e-05/0.005263, allocations: 8.438 kB / 452.6 MB, free: 30.87 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.005264, allocations: 4 kB / 452.6 MB, free: 30.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.005266, allocations: 0 / 452.6 MB, free: 30.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.005269, allocations: 0 / 452.6 MB, free: 30.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.08e-05/0.00536, allocations: 137.2 kB / 452.7 MB, free: 30.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.005361, allocations: 4 kB / 452.7 MB, free: 30.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.005406, allocations: 12 kB / 452.7 MB, free: 30.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.917e-05/0.005466, allocations: 24.84 kB / 452.8 MB, free: 30.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.005474, allocations: 7.984 kB / 452.8 MB, free: 30.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000371/0.005845, allocations: 1.292 MB / 454.1 MB, free: 29.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005846, allocations: 0 / 454.1 MB, free: 29.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.005976, allocations: 232.3 kB / 454.3 MB, free: 29.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-06/0.00598, allocations: 4.031 kB / 454.3 MB, free: 29.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-06/0.005985, allocations: 0 / 454.3 MB, free: 29.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.152e-05/0.006017, allocations: 0 / 454.3 MB, free: 29.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.006033, allocations: 7.984 kB / 454.3 MB, free: 29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.006036, allocations: 4 kB / 454.3 MB, free: 29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.8e-05/0.006054, allocations: 87.97 kB / 454.4 MB, free: 28.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006054, allocations: 0 / 454.4 MB, free: 28.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001632/0.006217, allocations: 35.89 kB / 454.4 MB, free: 28.88 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: 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 6.485e-05/0.006282, allocations: 99.25 kB / 454.5 MB, free: 28.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.006476, allocations: 170.7 kB / 454.7 MB, free: 28.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006477, allocations: 0 / 454.7 MB, free: 28.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.08e-05/0.006528, allocations: 142.6 kB / 454.8 MB, free: 28.44 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.006725, allocations: 12.31 kB / 454.8 MB, free: 28.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.007056, allocations: 281.4 kB / 455.1 MB, free: 28.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.758e-05/0.007094, allocations: 91.11 kB / 455.2 MB, free: 28.01 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.655e-05/0.007111, allocations: 8.5 kB / 455.2 MB, free: 28 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.007111, allocations: 7.938 kB / 455.2 MB, free: 28 MB / 330.7 MB Notification: Performance of Templates: time 0.001845/0.008956, allocations: 1.61 MB / 456.8 MB, free: 26.38 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Thermal.Network.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.Thermal.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.613376128487289] Failed to read output from testmodel.py, exit status != 0: 0.012941385619342327 0.018882228 0.015108604000000001 Calling exit ...