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.001043/0.001043, allocations: 73.97 kB / 20.66 MB, free: 3.844 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 1.029/1.029, allocations: 177.2 MB / 201 MB, free: 5.703 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.001403/0.001403, allocations: 156.6 kB / 257.7 MB, free: 12.98 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.02372/0.02372, allocations: 6.668 MB / 320.9 MB, free: 26.34 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.633e-06/1.633e-06, allocations: 0 / 392.8 MB, free: 2.289 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.972e-05, allocations: 9.625 kB / 392.9 MB, free: 2.281 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.001926/0.001946, allocations: 1.782 MB / 394.6 MB, free: 496 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002111/0.002157, allocations: 99.55 kB / 394.7 MB, free: 396 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.002201, allocations: 4 kB / 394.7 MB, free: 392 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.234e-05/0.002244, allocations: 11.86 kB / 394.7 MB, free: 380 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.403e-05/0.002308, allocations: 39.64 kB / 394.8 MB, free: 340 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.002422, allocations: 23.97 kB / 394.8 MB, free: 316 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.575e-05/0.002518, allocations: 123.3 kB / 394.9 MB, free: 192 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.002627, allocations: 35.97 kB / 395 MB, free: 156 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.231e-05/0.00269, allocations: 55.89 kB / 395 MB, free: 100 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.325e-05/0.002773, allocations: 39.89 kB / 395.1 MB, free: 60 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.002791, allocations: 8 kB / 395.1 MB, free: 52 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.753e-05/0.002808, allocations: 8 kB / 395.1 MB, free: 44 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.00283, allocations: 19.92 kB / 395.1 MB, free: 24 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.002874, allocations: 47.91 kB / 395.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.002979, allocations: 67.8 kB / 395.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.002981, allocations: 3.938 kB / 395.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002981, allocations: 4 kB / 395.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.002985, allocations: 0 / 395.2 MB, free: 15.9 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.000322/0.003307, allocations: 424.2 kB / 395.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.003338, allocations: 12.03 kB / 395.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.003369, allocations: 12.89 kB / 395.7 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.359e-05/0.003442, allocations: 116.5 kB / 395.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.003454, allocations: 12.38 kB / 395.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.003473, allocations: 12.38 kB / 395.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.135e-05/0.003565, allocations: 74.02 kB / 395.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.003573, allocations: 192 / 395.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.003583, allocations: 8.375 kB / 395.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.003587, allocations: 384 / 395.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.246e-05/0.00364, allocations: 35.77 kB / 395.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006335/0.004273, allocations: 368 kB / 396.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.004408, allocations: 74.95 kB / 396.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.004435, allocations: 27.66 kB / 396.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.294e-06/0.004442, allocations: 4 kB / 396.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.00446, allocations: 33.39 kB / 396.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.004461, allocations: 0 / 396.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.000269/0.00473, allocations: 125.3 kB / 396.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.004754, allocations: 59.34 kB / 396.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.029e-05/0.004814, allocations: 169.9 kB / 396.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.004825, allocations: 29.7 kB / 396.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.004874, allocations: 150.7 kB / 396.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.004892, allocations: 27.75 kB / 397 MB, free: 13.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.004922, allocations: 27.36 kB / 397 MB, free: 13.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.749e-05/0.00502, allocations: 0.4923 MB / 397.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.005033, allocations: 7.984 kB / 397.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.672e-05/0.005059, allocations: 35.3 kB / 397.5 MB, free: 13.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.339e-05/0.005103, allocations: 47.3 kB / 397.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.005104, allocations: 4 kB / 397.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001106/0.005215, allocations: 93.19 kB / 397.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.005225, allocations: 4 kB / 397.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005229, allocations: 0 / 397.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.577e-05/0.005325, allocations: 35.59 kB / 397.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.986e-05/0.005364, allocations: 15.94 kB / 397.7 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007071/0.006072, allocations: 1.749 MB / 399.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.006092, allocations: 7.891 kB / 399.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.006096, allocations: 4 kB / 399.5 MB, free: 11.3 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 6.044e-05/0.006156, allocations: 160.7 kB / 399.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.006174, allocations: 7.984 kB / 399.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.876e-05/0.006193, allocations: 20.42 kB / 399.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.02e-07/0.006194, allocations: 0 / 399.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.006196, allocations: 0 / 399.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.006198, allocations: 4.031 kB / 399.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.006302, allocations: 125.1 kB / 399.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006303, allocations: 0 / 399.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.006347, allocations: 15.98 kB / 399.8 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-05/0.006408, allocations: 23.61 kB / 399.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.006416, allocations: 8 kB / 399.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000636/0.007052, allocations: 1.729 MB / 401.6 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007052, allocations: 0 / 401.6 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.007203, allocations: 252.2 kB / 401.8 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.007211, allocations: 15.88 kB / 401.8 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-06/0.007218, allocations: 3.938 kB / 401.8 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.239e-05/0.00725, allocations: 7.938 kB / 401.8 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.007266, allocations: 11.98 kB / 401.8 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.007269, allocations: 0 / 401.8 MB, free: 8.754 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.563e-05/0.007305, allocations: 135.2 kB / 402 MB, free: 8.621 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.007305, allocations: 0 / 402 MB, free: 8.621 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001676/0.007472, allocations: 32.06 kB / 402 MB, free: 8.59 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.866e-05/0.007541, allocations: 91.25 kB / 402.1 MB, free: 8.492 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.007732, allocations: 225.3 kB / 402.3 MB, free: 8.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007733, allocations: 0 / 402.3 MB, free: 8.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.007812, allocations: 193.5 kB / 402.5 MB, free: 8.039 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.007989, allocations: 8 kB / 402.5 MB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.008441, allocations: 262.1 kB / 402.8 MB, free: 7.746 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.299e-05/0.008474, allocations: 63.34 kB / 402.8 MB, free: 7.664 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.867e-05/0.008492, allocations: 4 kB / 402.8 MB, free: 7.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.008538, allocations: 82.12 kB / 402.9 MB, free: 7.578 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008539, allocations: 0 / 402.9 MB, free: 7.578 MB / 330.7 MB Notification: Performance of Templates: time 0.002807/0.01135, allocations: 1.167 MB / 404.1 MB, free: 6.43 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0884557464160025]