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.001449/0.001449, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.9485/0.9485, allocations: 177.1 MB / 200 MB, free: 3.934 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.001564/0.001564, allocations: 162.4 kB / 256.6 MB, free: 176 kB / 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.02453/0.02453, allocations: 6.663 MB / 319.8 MB, free: 1.152 MB / 298.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.934e-06/1.934e-06, allocations: 0 / 391.6 MB, free: 58.25 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.775e-05, allocations: 2.312 kB / 391.6 MB, free: 58.25 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002228/0.002256, allocations: 1.78 MB / 393.4 MB, free: 56.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003085/0.002564, allocations: 101.6 kB / 393.5 MB, free: 56.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.002618, allocations: 0.5312 kB / 393.5 MB, free: 56.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.653e-05/0.002675, allocations: 16.36 kB / 393.5 MB, free: 56.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.678e-05/0.002742, allocations: 35.2 kB / 393.6 MB, free: 56.33 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.002882, allocations: 27.91 kB / 393.6 MB, free: 56.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.416e-05/0.002976, allocations: 119.3 kB / 393.7 MB, free: 56.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.0031, allocations: 34.17 kB / 393.7 MB, free: 56.15 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.094e-05/0.003161, allocations: 67.86 kB / 393.8 MB, free: 56.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.501e-05/0.003246, allocations: 31.95 kB / 393.8 MB, free: 56.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.003273, allocations: 12 kB / 393.8 MB, free: 56.04 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.465e-05/0.003288, allocations: 8 kB / 393.8 MB, free: 56.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.003308, allocations: 22.17 kB / 393.9 MB, free: 56.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.003345, allocations: 39.91 kB / 393.9 MB, free: 55.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.003487, allocations: 71.75 kB / 394 MB, free: 55.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.00349, allocations: 0 / 394 MB, free: 55.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.003491, allocations: 0 / 394 MB, free: 55.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.003497, allocations: 0 / 394 MB, free: 55.91 MB / 314.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.0003919/0.003889, allocations: 427.7 kB / 394.4 MB, free: 55.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.003927, allocations: 11.98 kB / 394.4 MB, free: 55.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.003974, allocations: 20.89 kB / 394.4 MB, free: 55.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.601e-05/0.00404, allocations: 120.5 kB / 394.5 MB, free: 55.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.004053, allocations: 8.375 kB / 394.6 MB, free: 55.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.004077, allocations: 12.38 kB / 394.6 MB, free: 55.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.004189, allocations: 75.64 kB / 394.6 MB, free: 55.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.004198, allocations: 192 / 394.6 MB, free: 55.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.00421, allocations: 384 / 394.6 MB, free: 55.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.004217, allocations: 8.375 kB / 394.6 MB, free: 55.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.08e-05/0.004288, allocations: 39.91 kB / 394.7 MB, free: 55.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.004752, allocations: 395.2 kB / 395.1 MB, free: 54.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.004921, allocations: 75.03 kB / 395.1 MB, free: 54.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.004961, allocations: 27.67 kB / 395.2 MB, free: 54.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.004971, allocations: 4 kB / 395.2 MB, free: 54.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.004984, allocations: 33.39 kB / 395.2 MB, free: 54.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.575e-06/0.004987, allocations: 4 kB / 395.2 MB, free: 54.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000328/0.005315, allocations: 129.3 kB / 395.3 MB, free: 54.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.005336, allocations: 55.41 kB / 395.4 MB, free: 54.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.034e-05/0.005387, allocations: 169.9 kB / 395.6 MB, free: 54.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/0.005393, allocations: 25.7 kB / 395.6 MB, free: 54.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.005431, allocations: 154.7 kB / 395.7 MB, free: 53.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.005447, allocations: 27.75 kB / 395.8 MB, free: 53.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.005476, allocations: 39.36 kB / 395.8 MB, free: 53.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.963e-05/0.005526, allocations: 496.1 kB / 396.3 MB, free: 53.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.005546, allocations: 19.92 kB / 396.3 MB, free: 53.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.005577, allocations: 23.38 kB / 396.3 MB, free: 53.35 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.151e-05/0.005628, allocations: 51.36 kB / 396.4 MB, free: 53.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.00563, allocations: 0 / 396.4 MB, free: 53.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001295/0.00576, allocations: 105.3 kB / 396.5 MB, free: 53.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.005774, allocations: 4 kB / 396.5 MB, free: 53.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.005779, allocations: 4.031 kB / 396.5 MB, free: 53.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001445/0.005924, allocations: 27.67 kB / 396.5 MB, free: 53.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.753e-05/0.005971, allocations: 23.97 kB / 396.5 MB, free: 53.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005868/0.006558, allocations: 1.764 MB / 398.3 MB, free: 51.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.006579, allocations: 11.88 kB / 398.3 MB, free: 51.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.006584, allocations: 0 / 398.3 MB, free: 51.21 MB / 314.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.123e-05/0.006635, allocations: 168.5 kB / 398.5 MB, free: 51.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.006652, allocations: 7.953 kB / 398.5 MB, free: 51.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.623e-05/0.006668, allocations: 12.44 kB / 398.5 MB, free: 51.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.00667, allocations: 4 kB / 398.5 MB, free: 51.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.006673, allocations: 0 / 398.5 MB, free: 51.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.006676, allocations: 0 / 398.5 MB, free: 51.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.522e-05/0.006761, allocations: 140.5 kB / 398.6 MB, free: 50.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.006762, allocations: 0 / 398.6 MB, free: 50.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.937e-05/0.006812, allocations: 19.98 kB / 398.7 MB, free: 50.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-05/0.006884, allocations: 27.81 kB / 398.7 MB, free: 50.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.006894, allocations: 3.938 kB / 398.7 MB, free: 50.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004194/0.007313, allocations: 1.771 MB / 400.5 MB, free: 48.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007314, allocations: 0 / 400.5 MB, free: 48.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.007457, allocations: 264 kB / 400.7 MB, free: 48.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-06/0.007461, allocations: 4 kB / 400.7 MB, free: 48.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.574e-06/0.007469, allocations: 8.062 kB / 400.7 MB, free: 48.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.211e-05/0.007501, allocations: 4 kB / 400.7 MB, free: 48.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.00752, allocations: 7.984 kB / 400.7 MB, free: 48.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.007524, allocations: 4 kB / 400.7 MB, free: 48.58 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.922e-05/0.007543, allocations: 127.2 kB / 400.9 MB, free: 48.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007543, allocations: 0 / 400.9 MB, free: 48.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001538/0.007697, allocations: 31.95 kB / 400.9 MB, free: 48.43 MB / 314.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.67e-05/0.007773, allocations: 95.23 kB / 401 MB, free: 48.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.00801, allocations: 225.4 kB / 401.2 MB, free: 48.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.008012, allocations: 0 / 401.2 MB, free: 48.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.094e-05/0.008073, allocations: 205.4 kB / 401.4 MB, free: 47.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.008279, allocations: 15.92 kB / 401.4 MB, free: 47.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/0.008853, allocations: 254.3 kB / 401.7 MB, free: 47.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.932e-05/0.008883, allocations: 63.34 kB / 401.7 MB, free: 47.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.994e-05/0.008902, allocations: 3.984 kB / 401.7 MB, free: 47.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.008923, allocations: 16.5 kB / 401.8 MB, free: 47.46 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008924, allocations: 0 / 401.8 MB, free: 47.46 MB / 314.7 MB Notification: Performance of Templates: time 0.002626/0.01155, allocations: 1.088 MB / 402.9 MB, free: 46.39 MB / 314.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.9357222532853484]