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.001514/0.001514, allocations: 93.06 kB / 19.65 MB, free: 276 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.9523/0.9523, allocations: 177.2 MB / 200 MB, free: 3.957 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.002179/0.002179, allocations: 166.5 kB / 256.6 MB, free: 168 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.02449/0.02449, allocations: 6.653 MB / 319.8 MB, free: 1.148 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.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.493e-06/1.493e-06, allocations: 0 / 391.6 MB, free: 58.25 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.518e-05, allocations: 5.828 kB / 391.6 MB, free: 58.25 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.005572/0.005587, allocations: 2.484 MB / 394.1 MB, free: 55.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000795/0.006382, allocations: 0.5967 MB / 394.7 MB, free: 55.17 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.965e-05/0.006482, allocations: 4 kB / 394.7 MB, free: 55.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.006609, allocations: 41.89 kB / 394.8 MB, free: 55.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.006721, allocations: 79.27 kB / 394.8 MB, free: 55.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.006898, allocations: 59.8 kB / 394.9 MB, free: 54.99 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.007093, allocations: 254 kB / 395.1 MB, free: 54.74 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.007229, allocations: 56.55 kB / 395.2 MB, free: 54.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.007349, allocations: 135.7 kB / 395.3 MB, free: 54.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.007465, allocations: 83.72 kB / 395.4 MB, free: 54.47 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.007493, allocations: 16 kB / 395.4 MB, free: 54.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.713e-05/0.00752, allocations: 23.94 kB / 395.4 MB, free: 54.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.273e-05/0.007553, allocations: 39.83 kB / 395.5 MB, free: 54.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.599e-05/0.007619, allocations: 75.84 kB / 395.6 MB, free: 54.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.007795, allocations: 155.4 kB / 395.7 MB, free: 54.17 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.007797, allocations: 4 kB / 395.7 MB, free: 54.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.007797, allocations: 3.938 kB / 395.7 MB, free: 54.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.007802, allocations: 4 kB / 395.7 MB, free: 54.16 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.003507/0.01131, allocations: 0.5269 MB / 396.2 MB, free: 53.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.01135, allocations: 11.98 kB / 396.3 MB, free: 53.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.325e-05/0.01142, allocations: 36.8 kB / 396.3 MB, free: 53.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.01162, allocations: 172.3 kB / 396.5 MB, free: 53.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.01163, allocations: 12.38 kB / 396.5 MB, free: 53.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.01167, allocations: 36.3 kB / 396.5 MB, free: 53.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.0119, allocations: 195.8 kB / 396.7 MB, free: 53.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.01191, allocations: 192 / 396.7 MB, free: 53.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.01192, allocations: 4.375 kB / 396.7 MB, free: 53.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.01193, allocations: 11.94 kB / 396.7 MB, free: 53.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.01207, allocations: 71.94 kB / 396.8 MB, free: 53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006944/0.01276, allocations: 0.7112 MB / 397.5 MB, free: 52.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.01297, allocations: 107.2 kB / 397.6 MB, free: 52.12 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.725e-05/0.01302, allocations: 43.67 kB / 397.6 MB, free: 52.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.01303, allocations: 0 / 397.6 MB, free: 52.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.01314, allocations: 114.7 kB / 397.8 MB, free: 51.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.01314, allocations: 0 / 397.8 MB, free: 51.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004195/0.01356, allocations: 189.1 kB / 397.9 MB, free: 51.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.01358, allocations: 51.41 kB / 398 MB, free: 51.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.77e-05/0.01368, allocations: 227.1 kB / 398.2 MB, free: 51.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.01369, allocations: 33.64 kB / 398.2 MB, free: 51.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.01374, allocations: 191.1 kB / 398.4 MB, free: 51.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.01377, allocations: 47.59 kB / 398.5 MB, free: 51.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.01382, allocations: 47.36 kB / 398.5 MB, free: 51.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.597e-05/0.01386, allocations: 0.4923 MB / 399 MB, free: 50.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.077e-05/0.0139, allocations: 19.98 kB / 399 MB, free: 50.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.537e-05/0.01396, allocations: 77.52 kB / 399.1 MB, free: 50.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.01406, allocations: 105.3 kB / 399.2 MB, free: 50.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01406, allocations: 4 kB / 399.2 MB, free: 50.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.003238/0.0173, allocations: 161 kB / 399.4 MB, free: 50.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.01732, allocations: 6.469 kB / 399.4 MB, free: 50.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01732, allocations: 7.984 kB / 399.4 MB, free: 50.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/0.01749, allocations: 31.67 kB / 399.4 MB, free: 50.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.539e-05/0.01758, allocations: 39.86 kB / 399.5 MB, free: 50.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000652/0.01823, allocations: 1.791 MB / 401.3 MB, free: 48.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.144e-05/0.01829, allocations: 23.83 kB / 401.3 MB, free: 48.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.0183, allocations: 8.031 kB / 401.3 MB, free: 48.17 MB / 314.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 6.073e-05/0.01836, allocations: 164.5 kB / 401.4 MB, free: 48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.01838, allocations: 23.91 kB / 401.5 MB, free: 47.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.037e-05/0.0184, allocations: 17.45 kB / 401.5 MB, free: 47.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.01841, allocations: 4 kB / 401.5 MB, free: 47.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01841, allocations: 0 / 401.5 MB, free: 47.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01841, allocations: 3.938 kB / 401.5 MB, free: 47.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.01853, allocations: 184.5 kB / 401.7 MB, free: 47.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01853, allocations: 0 / 401.7 MB, free: 47.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.745e-05/0.0186, allocations: 19.98 kB / 401.7 MB, free: 47.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.016e-05/0.01869, allocations: 35.67 kB / 401.7 MB, free: 47.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.0187, allocations: 4 kB / 401.7 MB, free: 47.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005241/0.01922, allocations: 1.803 MB / 403.5 MB, free: 45.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01922, allocations: 0 / 403.5 MB, free: 45.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.01945, allocations: 210.8 kB / 403.7 MB, free: 45.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.0195, allocations: 31.89 kB / 403.8 MB, free: 45.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.01951, allocations: 4 kB / 403.8 MB, free: 45.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.447e-05/0.01956, allocations: 11.98 kB / 403.8 MB, free: 45.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.01961, allocations: 15.97 kB / 403.8 MB, free: 45.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.01962, allocations: 4 kB / 403.8 MB, free: 45.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.137e-05/0.01967, allocations: 159.2 kB / 404 MB, free: 45.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01967, allocations: 0 / 404 MB, free: 45.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002355/0.0199, allocations: 55.89 kB / 404 MB, free: 45.23 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: 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.074e-05/0.01996, allocations: 103.2 kB / 404.1 MB, free: 45.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003277/0.02324, allocations: 256.5 kB / 404.4 MB, free: 44.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.02324, allocations: 0 / 404.4 MB, free: 44.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.02338, allocations: 233.3 kB / 404.6 MB, free: 44.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.02362, allocations: 36.17 kB / 404.6 MB, free: 44.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007998/0.02442, allocations: 410.5 kB / 405 MB, free: 44.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.728e-05/0.02446, allocations: 79.97 kB / 405.1 MB, free: 44.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.728e-05/0.02451, allocations: 9.5 kB / 405.1 MB, free: 44.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.02454, allocations: 20.44 kB / 405.1 MB, free: 44.02 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02454, allocations: 0 / 405.1 MB, free: 44.02 MB / 314.7 MB Notification: Performance of Templates: time 0.004728/0.02927, allocations: 2.218 MB / 407.4 MB, free: 41.85 MB / 314.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: 3.0425990563817322]