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.001087/0.001087, 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 1.018/1.018, allocations: 177.2 MB / 200 MB, free: 5.547 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.001329/0.001329, allocations: 168.6 kB / 256.6 MB, free: 13.01 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.02278/0.02278, allocations: 6.663 MB / 319.8 MB, free: 26.54 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.092e-06/1.092e-06, allocations: 0 / 391.6 MB, free: 2.613 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.857e-05, allocations: 2.312 kB / 391.6 MB, free: 2.609 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.002601/0.002619, allocations: 2.484 MB / 394.1 MB, free: 108 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007508/0.00337, allocations: 0.6038 MB / 394.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.003445, allocations: 7.938 kB / 394.7 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.291e-05/0.003538, allocations: 27.72 kB / 394.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.858e-05/0.003636, allocations: 83.27 kB / 394.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001341/0.00377, allocations: 55.81 kB / 394.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.003957, allocations: 266.4 kB / 395.1 MB, free: 15.06 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.004059, allocations: 56.31 kB / 395.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.004167, allocations: 139.7 kB / 395.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.673e-05/0.004264, allocations: 71.8 kB / 395.4 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.004289, allocations: 16 kB / 395.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.262e-05/0.004312, allocations: 20 kB / 395.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.004343, allocations: 39.83 kB / 395.5 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.004404, allocations: 87.77 kB / 395.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.004567, allocations: 167.3 kB / 395.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.004569, allocations: 0 / 395.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.00457, allocations: 0 / 395.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.004574, allocations: 0 / 395.7 MB, free: 14.48 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.0004886/0.005062, allocations: 0.523 MB / 396.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.00509, allocations: 8.031 kB / 396.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.005144, allocations: 36.8 kB / 396.3 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.005312, allocations: 180.2 kB / 396.5 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.005323, allocations: 16.38 kB / 396.5 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.005347, allocations: 16.38 kB / 396.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.005551, allocations: 199.9 kB / 396.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.005561, allocations: 192 / 396.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.005575, allocations: 12.36 kB / 396.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.005583, allocations: 7.938 kB / 396.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.005698, allocations: 71.89 kB / 396.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.006346, allocations: 0.7112 MB / 397.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.006525, allocations: 115.2 kB / 397.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.006575, allocations: 39.67 kB / 397.7 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/0.006584, allocations: 4 kB / 397.7 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/0.006695, allocations: 110.7 kB / 397.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.006696, allocations: 0 / 397.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.000352/0.007048, allocations: 188.1 kB / 397.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.007075, allocations: 59.34 kB / 398 MB, free: 12.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.007193, allocations: 222.4 kB / 398.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.007209, allocations: 29.7 kB / 398.3 MB, free: 11.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.007277, allocations: 191.1 kB / 398.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.007305, allocations: 51.52 kB / 398.5 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.007346, allocations: 43.36 kB / 398.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.007459, allocations: 0.4962 MB / 399 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.285e-05/0.007492, allocations: 23.98 kB / 399 MB, free: 10.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-05/0.007547, allocations: 80.92 kB / 399.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.00765, allocations: 94.38 kB / 399.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.007653, allocations: 3.984 kB / 399.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001824/0.007835, allocations: 168.8 kB / 399.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.007845, allocations: 8.031 kB / 399.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.007849, allocations: 0 / 399.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001353/0.007984, allocations: 35.66 kB / 399.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.97e-05/0.008054, allocations: 31.92 kB / 399.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00084/0.008894, allocations: 1.795 MB / 401.3 MB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/0.008945, allocations: 27.86 kB / 401.3 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.008951, allocations: 4 kB / 401.3 MB, free: 8.488 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 7.921e-05/0.009031, allocations: 164.6 kB / 401.4 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.009052, allocations: 23.91 kB / 401.5 MB, free: 8.293 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.676e-05/0.009069, allocations: 13.47 kB / 401.5 MB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.009071, allocations: 4 kB / 401.5 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.009073, allocations: 0 / 401.5 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.009078, allocations: 11.86 kB / 401.5 MB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.009218, allocations: 184.5 kB / 401.7 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.009219, allocations: 0 / 401.7 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.009277, allocations: 23.98 kB / 401.7 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.006e-05/0.009367, allocations: 31.8 kB / 401.7 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.009378, allocations: 8 kB / 401.7 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007368/0.01011, allocations: 1.791 MB / 403.5 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-07/0.01012, allocations: 0 / 403.5 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.01033, allocations: 211.8 kB / 403.7 MB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.01037, allocations: 27.83 kB / 403.8 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.01038, allocations: 4 kB / 403.8 MB, free: 5.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.349e-05/0.01043, allocations: 11.94 kB / 403.8 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.01046, allocations: 15.97 kB / 403.8 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.01047, allocations: 4 kB / 403.8 MB, free: 5.781 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.884e-05/0.01054, allocations: 155.2 kB / 404 MB, free: 5.629 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01054, allocations: 4 kB / 404 MB, free: 5.625 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.0107, allocations: 51.89 kB / 404 MB, free: 5.574 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 7.138e-05/0.01078, allocations: 111.2 kB / 404.1 MB, free: 5.453 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002574/0.01103, allocations: 256.5 kB / 404.4 MB, free: 5.184 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.01104, allocations: 4 kB / 404.4 MB, free: 5.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.01115, allocations: 217.5 kB / 404.6 MB, free: 4.945 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.01133, allocations: 48 kB / 404.6 MB, free: 4.898 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006321/0.01196, allocations: 414.6 kB / 405 MB, free: 4.465 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.875e-05/0.012, allocations: 75.98 kB / 405.1 MB, free: 4.371 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.732e-05/0.01203, allocations: 13.48 kB / 405.1 MB, free: 4.359 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.01206, allocations: 20.44 kB / 405.1 MB, free: 4.34 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01206, allocations: 0 / 405.1 MB, free: 4.34 MB / 330.7 MB Notification: Performance of Templates: time 0.003974/0.01604, allocations: 2.323 MB / 407.5 MB, free: 2.051 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.1852850802242756]