Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Coupling.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.0007082/0.0007082, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009108/0.001619, allocations: 440 kB / 10.41 MB, free: 284 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 0.987/0.987, allocations: 177.2 MB / 188.4 MB, free: 4.418 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2373/1.224, allocations: 53.66 MB / 242 MB, free: 2.621 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.0009926/0.0009926, allocations: 147.6 kB / 242.9 MB, free: 1.746 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004173/0.005166, allocations: 484.2 kB / 243.4 MB, free: 1.285 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.0326/0.0326, allocations: 6.662 MB / 250.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005072/0.03767, allocations: 2.668 MB / 253.5 MB, free: 7.41 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.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") translateModel(HanserModelica.Thermal.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 254.7 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.056e-05, allocations: 6.25 kB / 254.7 MB, free: 6.129 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.00391/0.00393, allocations: 2.532 MB / 257.3 MB, free: 3.586 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.005136, allocations: 0.6152 MB / 257.9 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.005274, allocations: 4 kB / 257.9 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.005386, allocations: 31.72 kB / 257.9 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.005549, allocations: 83.27 kB / 258 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.005745, allocations: 55.86 kB / 258.1 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.006054, allocations: 258.6 kB / 258.3 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.006201, allocations: 58.5 kB / 258.4 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.006423, allocations: 164.3 kB / 258.5 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.006572, allocations: 75.72 kB / 258.6 MB, free: 2.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.00661, allocations: 20 kB / 258.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.256e-05/0.006643, allocations: 16 kB / 258.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.006683, allocations: 31.88 kB / 258.7 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.574e-05/0.006758, allocations: 67.88 kB / 258.7 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.007012, allocations: 139.5 kB / 258.9 MB, free: 1.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.414e-05/0.007027, allocations: 4 kB / 258.9 MB, free: 1.977 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.007028, allocations: 0 / 258.9 MB, free: 1.977 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.007038, allocations: 0 / 258.9 MB, free: 1.977 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000653/0.007691, allocations: 459.5 kB / 259.3 MB, free: 1.504 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.007725, allocations: 8.031 kB / 259.3 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.436e-05/0.007799, allocations: 36.91 kB / 259.4 MB, free: 1.461 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.008027, allocations: 154.3 kB / 259.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.008043, allocations: 8.375 kB / 259.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.00808, allocations: 20.38 kB / 259.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.008328, allocations: 193.9 kB / 259.7 MB, free: 1.047 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.008339, allocations: 3.938 kB / 259.7 MB, free: 1.043 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.008356, allocations: 8 kB / 259.7 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.008364, allocations: 4 kB / 259.7 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.008464, allocations: 51.92 kB / 259.8 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007795/0.009244, allocations: 0.5255 MB / 260.3 MB, free: 432 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.009448, allocations: 90.47 kB / 260.4 MB, free: 332 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.009489, allocations: 24.86 kB / 260.4 MB, free: 304 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.009501, allocations: 4 kB / 260.4 MB, free: 300 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.009645, allocations: 105 kB / 260.5 MB, free: 176 kB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.724e-06/0.009646, allocations: 4 kB / 260.5 MB, free: 172 kB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003804/0.01003, allocations: 142.3 kB / 260.7 MB, free: 20 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.01008, allocations: 55.41 kB / 260.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.01019, allocations: 163.4 kB / 260.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.01021, allocations: 29.7 kB / 260.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.01028, allocations: 136.4 kB / 261.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.01032, allocations: 51.52 kB / 261.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.01037, allocations: 41.69 kB / 261.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.01047, allocations: 326.8 kB / 261.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.998e-05/0.0105, allocations: 15.98 kB / 261.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-05/0.01055, allocations: 64.2 kB / 261.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.773e-05/0.01065, allocations: 79 kB / 261.6 MB, free: 15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01065, allocations: 0 / 261.6 MB, free: 15 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002025/0.01085, allocations: 126.3 kB / 261.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.01087, allocations: 8 kB / 261.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01088, allocations: 0 / 261.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000164/0.01104, allocations: 28.83 kB / 261.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.01117, allocations: 46.56 kB / 261.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008524/0.01202, allocations: 1.218 MB / 263.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.006e-05/0.0121, allocations: 19.83 kB / 263.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.01211, allocations: 4 kB / 263.1 MB, free: 13.45 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.015e-05/0.0122, allocations: 113.8 kB / 263.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.01222, allocations: 19.98 kB / 263.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.01225, allocations: 21.45 kB / 263.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.01225, allocations: 0 / 263.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.01226, allocations: 0 / 263.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01226, allocations: 11.81 kB / 263.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.01243, allocations: 121.9 kB / 263.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.01243, allocations: 0 / 263.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.01255, allocations: 24.12 kB / 263.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.0126, allocations: 27.81 kB / 263.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/0.01271, allocations: 24.83 kB / 263.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.01272, allocations: 8 kB / 263.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007053/0.01343, allocations: 1.217 MB / 264.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01343, allocations: 0 / 264.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.01364, allocations: 148.6 kB / 264.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.01367, allocations: 7.984 kB / 264.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.894e-05/0.01373, allocations: 4 kB / 264.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.01378, allocations: 15.97 kB / 264.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.01378, allocations: 4 kB / 264.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.09e-05/0.01383, allocations: 48.8 kB / 264.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01383, allocations: 0 / 264.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002434/0.01408, allocations: 59.95 kB / 264.9 MB, free: 11.45 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: 3 ($whenCondition1,switch.control,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001032/0.01418, allocations: 88.3 kB / 265 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.01444, allocations: 193.5 kB / 265.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.01445, allocations: 0 / 265.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.0146, allocations: 167.4 kB / 265.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.01493, allocations: 384 kB / 265.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.01798, allocations: 396.6 kB / 266.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.064e-05/0.01804, allocations: 75.98 kB / 266.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.119e-05/0.01811, allocations: 13.48 kB / 266.2 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.01822, allocations: 79.36 kB / 266.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01822, allocations: 0 / 266.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of Templates: time 0.005633/0.02385, allocations: 2.569 MB / 268.9 MB, free: 7.41 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Thermal.Coupling.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Thermal.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Coupling.sim & ./HanserModelica_HanserModelica.Thermal.Coupling -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.82561516482383]