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.001123/0.001123, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.032/1.032, allocations: 177.1 MB / 200.3 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.001917/0.001917, allocations: 160.6 kB / 256.9 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.02443/0.02443, allocations: 6.659 MB / 320.1 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.302e-06/1.302e-06, allocations: 0 / 392.1 MB, free: 2.285 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.335e-05, allocations: 2.312 kB / 392.1 MB, free: 2.281 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002095/0.002118, allocations: 1.785 MB / 393.8 MB, free: 496 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002398/0.002358, allocations: 103.5 kB / 393.9 MB, free: 392 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.002401, allocations: 4 kB / 393.9 MB, free: 388 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.002435, allocations: 11.86 kB / 394 MB, free: 376 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.22e-05/0.002497, allocations: 35.64 kB / 394 MB, free: 340 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.937e-05/0.002577, allocations: 23.97 kB / 394 MB, free: 316 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.077e-05/0.002657, allocations: 119.3 kB / 394.1 MB, free: 196 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.638e-05/0.002734, allocations: 39.97 kB / 394.2 MB, free: 156 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.114e-05/0.002785, allocations: 63.88 kB / 394.2 MB, free: 92 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.002845, allocations: 35.89 kB / 394.3 MB, free: 56 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.002862, allocations: 8 kB / 394.3 MB, free: 48 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.539e-05/0.002877, allocations: 12 kB / 394.3 MB, free: 36 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.002896, allocations: 15.92 kB / 394.3 MB, free: 20 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.002944, allocations: 40 kB / 394.3 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.003053, allocations: 71.72 kB / 394.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.003055, allocations: 0 / 394.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003055, allocations: 7.875 kB / 394.4 MB, free: 15.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.003059, allocations: 0 / 394.4 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.0003358/0.003395, allocations: 432.2 kB / 394.8 MB, free: 15.44 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.003435, allocations: 8.031 kB / 394.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.003471, allocations: 16.89 kB / 394.9 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.681e-05/0.003558, allocations: 120.5 kB / 395 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.003569, allocations: 4.375 kB / 395 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.00359, allocations: 8.375 kB / 395 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.75e-05/0.003687, allocations: 78.02 kB / 395.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.003696, allocations: 192 / 395.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.003703, allocations: 4.375 kB / 395.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.003709, allocations: 8.375 kB / 395.1 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.451e-05/0.003754, allocations: 27.91 kB / 395.1 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.004128, allocations: 372 kB / 395.5 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.004252, allocations: 70.97 kB / 395.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/0.004279, allocations: 23.67 kB / 395.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.004286, allocations: 0 / 395.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.004303, allocations: 37.39 kB / 395.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.004304, allocations: 0 / 395.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002677/0.004572, allocations: 129.3 kB / 395.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.004595, allocations: 55.34 kB / 395.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.394e-05/0.004658, allocations: 169.9 kB / 396 MB, free: 14.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.004667, allocations: 25.7 kB / 396 MB, free: 14.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.004719, allocations: 150.7 kB / 396.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.004734, allocations: 27.73 kB / 396.2 MB, free: 14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.004766, allocations: 35.36 kB / 396.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.004881, allocations: 0.4884 MB / 396.7 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.004896, allocations: 11.98 kB / 396.7 MB, free: 13.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.623e-05/0.004922, allocations: 27.31 kB / 396.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.385e-05/0.004966, allocations: 51.28 kB / 396.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.004968, allocations: 0 / 396.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001217/0.00509, allocations: 101.1 kB / 396.9 MB, free: 13.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.005102, allocations: 8 kB / 396.9 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.005107, allocations: 3.984 kB / 396.9 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.915e-05/0.005206, allocations: 27.7 kB / 396.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.046e-05/0.005247, allocations: 15.98 kB / 396.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007763/0.006023, allocations: 1.745 MB / 398.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.006046, allocations: 7.891 kB / 398.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.00605, allocations: 4 kB / 398.7 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.934e-05/0.00612, allocations: 168.5 kB / 398.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.006135, allocations: 4 kB / 398.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.396e-05/0.006149, allocations: 12.44 kB / 398.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.00615, allocations: 4 kB / 398.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.006154, allocations: 0 / 398.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.006157, allocations: 144 / 398.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.006263, allocations: 125.1 kB / 399 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.006265, allocations: 4 kB / 399 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.006311, allocations: 19.91 kB / 399 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.577e-05/0.006377, allocations: 31.67 kB / 399 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.006382, allocations: 0 / 399 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006337/0.007016, allocations: 1.737 MB / 400.8 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.007018, allocations: 0 / 400.8 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.007183, allocations: 248 kB / 401 MB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.007191, allocations: 11.89 kB / 401 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-06/0.007198, allocations: 8.047 kB / 401 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.207e-05/0.00723, allocations: 7.938 kB / 401 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.007247, allocations: 11.98 kB / 401.1 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.007251, allocations: 0 / 401.1 MB, free: 8.746 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.246e-05/0.007293, allocations: 127.2 kB / 401.2 MB, free: 8.621 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007293, allocations: 0 / 401.2 MB, free: 8.621 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001724/0.007466, allocations: 28 kB / 401.2 MB, free: 8.594 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 7.101e-05/0.007537, allocations: 91.39 kB / 401.3 MB, free: 8.496 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.007722, allocations: 229.4 kB / 401.5 MB, free: 8.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.007723, allocations: 0 / 401.5 MB, free: 8.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.877e-05/0.007812, allocations: 201.5 kB / 401.7 MB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.007978, allocations: 7.984 kB / 401.7 MB, free: 8.023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.008482, allocations: 258 kB / 402 MB, free: 7.742 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.153e-05/0.008524, allocations: 67.33 kB / 402 MB, free: 7.656 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.994e-05/0.008543, allocations: 4 kB / 402 MB, free: 7.652 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.008593, allocations: 78.19 kB / 402.1 MB, free: 7.574 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.008593, allocations: 7.938 kB / 402.1 MB, free: 7.566 MB / 330.7 MB Notification: Performance of Templates: time 0.002746/0.01134, allocations: 1.146 MB / 403.3 MB, free: 6.441 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.0924711683765054]