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.001473/0.001473, allocations: 92.2 kB / 20.19 MB, free: 4.359 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 1.053/1.053, allocations: 177.2 MB / 200.5 MB, free: 5.816 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.001218/0.001218, allocations: 168.2 kB / 257 MB, free: 13.19 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.02431/0.02431, allocations: 6.659 MB / 320.1 MB, free: 26.57 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.803e-06/1.803e-06, allocations: 0 / 391.6 MB, free: 2.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.186e-05, allocations: 6.312 kB / 391.6 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003377/0.003399, allocations: 2.468 MB / 394.1 MB, free: 480 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009292/0.004328, allocations: 0.5961 MB / 394.7 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.004435, allocations: 7.938 kB / 394.7 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.004571, allocations: 35.7 kB / 394.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.004681, allocations: 75.17 kB / 394.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.004891, allocations: 59.8 kB / 394.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.005124, allocations: 266.4 kB / 395.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.005267, allocations: 56.31 kB / 395.2 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.0054, allocations: 139.7 kB / 395.3 MB, free: 15.24 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.005513, allocations: 71.78 kB / 395.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.005544, allocations: 20 kB / 395.4 MB, free: 15.15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.228e-05/0.005566, allocations: 20 kB / 395.4 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.005603, allocations: 43.83 kB / 395.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.064e-05/0.005674, allocations: 79.78 kB / 395.6 MB, free: 15.01 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.005882, allocations: 163.3 kB / 395.7 MB, free: 14.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.005884, allocations: 0 / 395.7 MB, free: 14.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.005886, allocations: 4 kB / 395.7 MB, free: 14.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.00589, allocations: 0 / 395.7 MB, free: 14.85 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.0006804/0.00657, allocations: 0.523 MB / 396.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.006605, allocations: 8.031 kB / 396.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.006673, allocations: 44.8 kB / 396.3 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.00689, allocations: 184.2 kB / 396.5 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.006904, allocations: 12.38 kB / 396.5 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.006935, allocations: 20.38 kB / 396.5 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.007164, allocations: 199.8 kB / 396.7 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.007174, allocations: 192 / 396.7 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.007191, allocations: 8.375 kB / 396.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.007201, allocations: 7.938 kB / 396.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.007331, allocations: 75.88 kB / 396.8 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.00807, allocations: 0.7112 MB / 397.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.008271, allocations: 111.2 kB / 397.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.008326, allocations: 43.66 kB / 397.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.008335, allocations: 0 / 397.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.008453, allocations: 114.7 kB / 397.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.008454, allocations: 0 / 397.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004246/0.008879, allocations: 192.8 kB / 398 MB, free: 12.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.008908, allocations: 51.41 kB / 398 MB, free: 12.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.009035, allocations: 222.4 kB / 398.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.00905, allocations: 33.64 kB / 398.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.009127, allocations: 195.1 kB / 398.5 MB, free: 11.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.009159, allocations: 55.53 kB / 398.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.009203, allocations: 39.38 kB / 398.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.009315, allocations: 0.4923 MB / 399 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.7e-05/0.009352, allocations: 19.98 kB / 399.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-05/0.009412, allocations: 78.34 kB / 399.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.009514, allocations: 98.36 kB / 399.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.009517, allocations: 4 kB / 399.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000199/0.009716, allocations: 165 kB / 399.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.009729, allocations: 4 kB / 399.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.009735, allocations: 4 kB / 399.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001663/0.009902, allocations: 31.66 kB / 399.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.199e-05/0.009974, allocations: 31.92 kB / 399.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008591/0.01083, allocations: 1.795 MB / 401.3 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.798e-05/0.01089, allocations: 19.81 kB / 401.3 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.0109, allocations: 8 kB / 401.3 MB, free: 8.852 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 8.404e-05/0.01098, allocations: 160.7 kB / 401.4 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.011, allocations: 23.89 kB / 401.5 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.01102, allocations: 25.45 kB / 401.5 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01103, allocations: 4 kB / 401.5 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01103, allocations: 7.969 kB / 401.5 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01103, allocations: 3.938 kB / 401.5 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.01117, allocations: 188.5 kB / 401.7 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01118, allocations: 4 kB / 401.7 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.01123, allocations: 12 kB / 401.7 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-05/0.01133, allocations: 35.66 kB / 401.7 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.01134, allocations: 4 kB / 401.7 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007613/0.0121, allocations: 1.791 MB / 403.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.0121, allocations: 4 kB / 403.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.01233, allocations: 207 kB / 403.7 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.01237, allocations: 23.83 kB / 403.8 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.01238, allocations: 4 kB / 403.8 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.01243, allocations: 11.98 kB / 403.8 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.01248, allocations: 8.125 kB / 403.8 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.01249, allocations: 15.92 kB / 403.8 MB, free: 6.145 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.304e-05/0.01256, allocations: 167.2 kB / 404 MB, free: 5.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01256, allocations: 0 / 404 MB, free: 5.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001998/0.01276, allocations: 55.89 kB / 404 MB, free: 5.926 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 8.487e-05/0.01284, allocations: 99.19 kB / 404.1 MB, free: 5.816 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000299/0.01314, allocations: 264.5 kB / 404.4 MB, free: 5.539 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.01314, allocations: 0 / 404.4 MB, free: 5.539 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.01327, allocations: 225.7 kB / 404.6 MB, free: 5.297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.01346, allocations: 47.7 kB / 404.6 MB, free: 5.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006879/0.01415, allocations: 402.4 kB / 405 MB, free: 4.828 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.184e-05/0.01419, allocations: 75.98 kB / 405.1 MB, free: 4.734 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.448e-05/0.01423, allocations: 25.41 kB / 405.1 MB, free: 4.711 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.01427, allocations: 20.5 kB / 405.2 MB, free: 4.691 MB / 330.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01427, allocations: 0 / 405.2 MB, free: 4.691 MB / 330.7 MB Notification: Performance of Templates: time 0.003933/0.0182, allocations: 2.21 MB / 407.4 MB, free: 2.52 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: 3.054297903785482]