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.000954/0.000954, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00391/0.004864, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.009/1.009, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1676/1.176, allocations: 53.65 MB / 241.9 MB, free: 2.723 MB / 234.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.001449/0.001449, allocations: 144 kB / 242.8 MB, free: 1.867 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00165/0.003099, allocations: 482 kB / 243.2 MB, free: 1.414 MB / 234.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.03528/0.03528, allocations: 6.643 MB / 250.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005281/0.04057, allocations: 2.664 MB / 253.3 MB, free: 7.559 MB / 250.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.422e-06/1.422e-06, allocations: 0 / 254.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.483e-05, allocations: 2.312 kB / 254.5 MB, free: 6.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.00189/0.001905, allocations: 1.821 MB / 256.3 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000137/0.002042, allocations: 115.5 kB / 256.5 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.034e-05/0.002082, allocations: 4 kB / 256.5 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.659e-05/0.002119, allocations: 11.86 kB / 256.5 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.453e-05/0.002163, allocations: 39.58 kB / 256.5 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.114e-05/0.002224, allocations: 23.97 kB / 256.5 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.002325, allocations: 123.3 kB / 256.7 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.002433, allocations: 31.97 kB / 256.7 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.134e-05/0.002514, allocations: 71.83 kB / 256.8 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.644e-05/0.00259, allocations: 35.89 kB / 256.8 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.002614, allocations: 12 kB / 256.8 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.002627, allocations: 8 kB / 256.8 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.002645, allocations: 15.94 kB / 256.8 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.00268, allocations: 31.94 kB / 256.9 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.002793, allocations: 67.77 kB / 256.9 MB, free: 3.895 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-05/0.002806, allocations: 0 / 256.9 MB, free: 3.895 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.002807, allocations: 0 / 256.9 MB, free: 3.895 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.002821, allocations: 0 / 256.9 MB, free: 3.895 MB / 250.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.000382/0.003203, allocations: 320.3 kB / 257.2 MB, free: 3.555 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.003233, allocations: 12.03 kB / 257.3 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.003266, allocations: 16.92 kB / 257.3 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.35e-05/0.003349, allocations: 117.6 kB / 257.4 MB, free: 3.387 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.003363, allocations: 12.23 kB / 257.4 MB, free: 3.375 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.003384, allocations: 8.375 kB / 257.4 MB, free: 3.367 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.162e-05/0.003475, allocations: 72.03 kB / 257.5 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.003484, allocations: 192 / 257.5 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.003493, allocations: 4.375 kB / 257.5 MB, free: 3.289 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.003499, allocations: 4.375 kB / 257.5 MB, free: 3.285 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.028e-05/0.003549, allocations: 31.92 kB / 257.5 MB, free: 3.254 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.003903, allocations: 279.8 kB / 257.8 MB, free: 2.965 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.004025, allocations: 54.55 kB / 257.8 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.00405, allocations: 28.98 kB / 257.9 MB, free: 2.871 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.004056, allocations: 0 / 257.9 MB, free: 2.871 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.004074, allocations: 34.56 kB / 257.9 MB, free: 2.828 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.004075, allocations: 0 / 257.9 MB, free: 2.828 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002482/0.004324, allocations: 106.4 kB / 258 MB, free: 2.715 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.004348, allocations: 55.34 kB / 258.1 MB, free: 2.648 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.082e-05/0.004399, allocations: 118.7 kB / 258.2 MB, free: 2.52 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.004408, allocations: 25.7 kB / 258.2 MB, free: 2.488 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.004447, allocations: 107.9 kB / 258.3 MB, free: 2.379 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.004467, allocations: 34.56 kB / 258.3 MB, free: 2.348 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.004493, allocations: 17.72 kB / 258.4 MB, free: 2.324 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003431/0.004836, allocations: 322.8 kB / 258.7 MB, free: 2 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.004848, allocations: 11.94 kB / 258.7 MB, free: 1.988 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.985e-05/0.004868, allocations: 25.66 kB / 258.7 MB, free: 1.957 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.797e-05/0.004906, allocations: 41.67 kB / 258.8 MB, free: 1.91 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.004908, allocations: 0 / 258.8 MB, free: 1.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.228e-05/0.005, allocations: 82.41 kB / 258.8 MB, free: 1.82 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.005012, allocations: 7.938 kB / 258.8 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.005016, allocations: 0 / 258.8 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/0.005134, allocations: 28.86 kB / 258.9 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.095e-05/0.005225, allocations: 31.03 kB / 258.9 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005538/0.005778, allocations: 1.176 MB / 260.1 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.005796, allocations: 7.953 kB / 260.1 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.0058, allocations: 4 kB / 260.1 MB, free: 496 kB / 250.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 5.068e-05/0.005851, allocations: 117.8 kB / 260.2 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.005867, allocations: 11.92 kB / 260.2 MB, free: 356 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.816e-05/0.005886, allocations: 12.44 kB / 260.2 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.91e-07/0.005886, allocations: 0 / 260.2 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.005889, allocations: 4 kB / 260.2 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.005892, allocations: 0 / 260.2 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.587e-05/0.005978, allocations: 89.75 kB / 260.3 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.005979, allocations: 0 / 260.3 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.046e-05/0.006039, allocations: 23.98 kB / 260.3 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.006044, allocations: 11.92 kB / 260.4 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-05/0.006098, allocations: 36.91 kB / 260.4 MB, free: 152 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.006103, allocations: 0 / 260.4 MB, free: 152 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004698/0.006573, allocations: 1.182 MB / 261.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.006575, allocations: 7.922 kB / 261.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.006698, allocations: 180.3 kB / 261.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-06/0.006704, allocations: 0 / 261.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.576e-05/0.006739, allocations: 8 kB / 261.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.006753, allocations: 7.984 kB / 261.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.006756, allocations: 4 kB / 261.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.229e-05/0.006769, allocations: 16.84 kB / 261.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006769, allocations: 0 / 261.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001335/0.006902, allocations: 35.89 kB / 261.8 MB, free: 14.6 MB / 266.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.8e-05/0.00697, allocations: 76.41 kB / 261.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.007142, allocations: 155.4 kB / 262.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.007149, allocations: 8 kB / 262.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.176e-05/0.007211, allocations: 135.5 kB / 262.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.007347, allocations: 14.95 kB / 262.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.008954, allocations: 266.3 kB / 262.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.554e-05/0.008989, allocations: 63.34 kB / 262.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.908e-05/0.009008, allocations: 3.984 kB / 262.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.009053, allocations: 59.38 kB / 262.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009054, allocations: 0 / 262.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of Templates: time 0.002614/0.01167, allocations: 1.278 MB / 263.9 MB, free: 12.49 MB / 266.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: 2.7206462239846587]