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.001386/0.001386, allocations: 85.27 kB / 19.87 MB, free: 4.617 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 0.982/0.982, allocations: 177.1 MB / 200.3 MB, free: 5.719 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.001729/0.001729, allocations: 152.6 kB / 256.9 MB, free: 12.99 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.02354/0.02354, allocations: 6.661 MB / 320.1 MB, free: 26.37 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.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 1.763e-06/1.763e-06, allocations: 0 / 392.1 MB, free: 2.309 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.4e-05, allocations: 9.906 kB / 392.1 MB, free: 2.301 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.002619/0.002633, allocations: 2.468 MB / 394.5 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009106/0.003544, allocations: 0.5998 MB / 395.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.003661, allocations: 0 / 395.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.003813, allocations: 39.64 kB / 395.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.003948, allocations: 79.33 kB / 395.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.00415, allocations: 55.81 kB / 395.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.004365, allocations: 266.4 kB / 395.6 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.004487, allocations: 56.3 kB / 395.6 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.004609, allocations: 143.6 kB / 395.8 MB, free: 14.58 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.004722, allocations: 75.78 kB / 395.8 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.004749, allocations: 16 kB / 395.9 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.3e-05/0.004772, allocations: 20 kB / 395.9 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.405e-05/0.004806, allocations: 43.77 kB / 395.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.723e-05/0.004863, allocations: 79.83 kB / 396 MB, free: 14.35 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.005041, allocations: 159.4 kB / 396.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.005043, allocations: 0 / 396.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005044, allocations: 0 / 396.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.005047, allocations: 0 / 396.1 MB, free: 14.2 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007691/0.005817, allocations: 0.523 MB / 396.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.005852, allocations: 12.02 kB / 396.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.005897, allocations: 36.8 kB / 396.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.006058, allocations: 184.2 kB / 396.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.00607, allocations: 12.38 kB / 396.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.006096, allocations: 16.38 kB / 396.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.006287, allocations: 195.8 kB / 397.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.006296, allocations: 192 / 397.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.00631, allocations: 12.38 kB / 397.1 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.006317, allocations: 7.938 kB / 397.1 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.847e-05/0.006396, allocations: 55.89 kB / 397.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006386/0.007035, allocations: 0.6843 MB / 397.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.007182, allocations: 107.2 kB / 398 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/0.007218, allocations: 35.67 kB / 398 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.007226, allocations: 0 / 398 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.00733, allocations: 110.7 kB / 398.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.007331, allocations: 0 / 398.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003096/0.007641, allocations: 173.1 kB / 398.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.007667, allocations: 59.33 kB / 398.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.007761, allocations: 214.3 kB / 398.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.007774, allocations: 33.7 kB / 398.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.007842, allocations: 187.1 kB / 398.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.007872, allocations: 59.5 kB / 398.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.007912, allocations: 39.36 kB / 398.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.008021, allocations: 0.5001 MB / 399.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.008043, allocations: 23.98 kB / 399.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.292e-05/0.008086, allocations: 66.39 kB / 399.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.93e-05/0.008166, allocations: 93.72 kB / 399.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.008167, allocations: 0 / 399.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001489/0.008316, allocations: 153.1 kB / 399.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.008329, allocations: 12 kB / 399.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.008333, allocations: 0 / 399.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/0.00846, allocations: 35.59 kB / 399.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.294e-05/0.008523, allocations: 27.98 kB / 399.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007796/0.009303, allocations: 1.772 MB / 401.5 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.194e-05/0.009355, allocations: 15.92 kB / 401.6 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.009361, allocations: 8 kB / 401.6 MB, free: 8.352 MB / 330.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.24e-05/0.009453, allocations: 168.5 kB / 401.7 MB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.009473, allocations: 19.91 kB / 401.8 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.841e-05/0.009491, allocations: 21.45 kB / 401.8 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.009495, allocations: 4 kB / 401.8 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.009498, allocations: 0 / 401.8 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.009501, allocations: 0 / 401.8 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.009623, allocations: 157 kB / 401.9 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.009625, allocations: 0 / 401.9 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.00968, allocations: 27.98 kB / 402 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.448e-05/0.009764, allocations: 35.72 kB / 402 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.009772, allocations: 4 kB / 402 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000973/0.01074, allocations: 1.76 MB / 403.8 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01075, allocations: 4 kB / 403.8 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.01093, allocations: 199.8 kB / 404 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.01096, allocations: 19.83 kB / 404 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.01097, allocations: 11.94 kB / 404 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.063e-05/0.01101, allocations: 4 kB / 404 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.01105, allocations: 15.97 kB / 404 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.01106, allocations: 7.938 kB / 404 MB, free: 5.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.166e-05/0.01111, allocations: 155.1 kB / 404.2 MB, free: 5.578 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01111, allocations: 0 / 404.2 MB, free: 5.578 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001627/0.01127, allocations: 55.89 kB / 404.2 MB, free: 5.523 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: 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 6.871e-05/0.01134, allocations: 103.3 kB / 404.3 MB, free: 5.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.01155, allocations: 258.9 kB / 404.6 MB, free: 5.145 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01156, allocations: 0 / 404.6 MB, free: 5.145 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.01166, allocations: 225.4 kB / 404.8 MB, free: 4.902 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.01183, allocations: 36.22 kB / 404.8 MB, free: 4.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005922/0.01242, allocations: 414.4 kB / 405.2 MB, free: 4.434 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.271e-05/0.01246, allocations: 75.98 kB / 405.3 MB, free: 4.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.058e-05/0.0125, allocations: 13.48 kB / 405.3 MB, free: 4.328 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.22e-05/0.01259, allocations: 98.19 kB / 405.4 MB, free: 4.23 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01259, allocations: 0 / 405.4 MB, free: 4.23 MB / 330.7 MB Notification: Performance of Templates: time 0.00378/0.01637, allocations: 2.384 MB / 407.8 MB, free: 1.891 MB / 330.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.9796757749281824]