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.0009906/0.0009906, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.031/1.031, allocations: 177.2 MB / 201.1 MB, free: 5.402 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.001176/0.001176, allocations: 167.3 kB / 257.7 MB, free: 12.81 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.02522/0.02522, allocations: 6.66 MB / 320.9 MB, free: 11.46 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.383e-06/1.383e-06, allocations: 0 / 392.9 MB, free: 3.387 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.175e-05, allocations: 2.312 kB / 392.9 MB, free: 3.383 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.002809/0.00283, allocations: 2.464 MB / 395.3 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.003925, allocations: 0.5998 MB / 395.9 MB, free: 304 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.004067, allocations: 4 kB / 395.9 MB, free: 300 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.004214, allocations: 31.72 kB / 396 MB, free: 268 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.00435, allocations: 79.28 kB / 396 MB, free: 188 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.004566, allocations: 55.8 kB / 396.1 MB, free: 132 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.004829, allocations: 262.8 kB / 396.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.004965, allocations: 52.56 kB / 396.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.005108, allocations: 143.6 kB / 396.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.005227, allocations: 75.73 kB / 396.6 MB, free: 15.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.005253, allocations: 20 kB / 396.6 MB, free: 15.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.356e-05/0.005277, allocations: 20 kB / 396.7 MB, free: 15.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.373e-05/0.005311, allocations: 39.83 kB / 396.7 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.005375, allocations: 83.83 kB / 396.8 MB, free: 15.44 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.005563, allocations: 159.3 kB / 396.9 MB, free: 15.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.005565, allocations: 0 / 396.9 MB, free: 15.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.005566, allocations: 0 / 396.9 MB, free: 15.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.005571, allocations: 0 / 396.9 MB, free: 15.29 MB / 378.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.0005681/0.006139, allocations: 0.5307 MB / 397.5 MB, free: 14.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.006176, allocations: 12.03 kB / 397.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/0.006236, allocations: 36.8 kB / 397.5 MB, free: 14.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.006434, allocations: 172.3 kB / 397.7 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.006451, allocations: 16.38 kB / 397.7 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.00648, allocations: 16.38 kB / 397.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.00667, allocations: 191.8 kB / 397.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.006681, allocations: 192 / 397.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.006695, allocations: 8.375 kB / 397.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.006704, allocations: 11.94 kB / 397.9 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.722e-05/0.006791, allocations: 55.89 kB / 398 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006759/0.007467, allocations: 0.6844 MB / 398.7 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.007636, allocations: 107.2 kB / 398.8 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.007676, allocations: 39.64 kB / 398.8 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.007686, allocations: 4 kB / 398.8 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.007802, allocations: 106.2 kB / 398.9 MB, free: 13.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.007804, allocations: 0 / 398.9 MB, free: 13.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003634/0.008167, allocations: 177.1 kB / 399.1 MB, free: 12.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.008197, allocations: 59.34 kB / 399.1 MB, free: 12.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.0083, allocations: 217.8 kB / 399.4 MB, free: 12.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.008316, allocations: 29.7 kB / 399.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.008398, allocations: 195.1 kB / 399.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.00843, allocations: 51.52 kB / 399.6 MB, free: 12.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.008476, allocations: 39.36 kB / 399.7 MB, free: 12.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.008594, allocations: 0.4962 MB / 400.2 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.76e-05/0.008621, allocations: 19.98 kB / 400.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.124e-05/0.008672, allocations: 80.88 kB / 400.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.55e-05/0.008758, allocations: 90.34 kB / 400.4 MB, free: 11.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.00876, allocations: 0 / 400.4 MB, free: 11.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001851/0.008945, allocations: 160.3 kB / 400.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.008957, allocations: 8.031 kB / 400.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.008962, allocations: 0 / 400.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001405/0.009103, allocations: 35.66 kB / 400.5 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.025e-05/0.009173, allocations: 27.92 kB / 400.6 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008619/0.01003, allocations: 1.764 MB / 402.3 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.843e-05/0.01009, allocations: 15.92 kB / 402.4 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.0101, allocations: 8.141 kB / 402.4 MB, free: 9.449 MB / 378.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.618e-05/0.01019, allocations: 176.4 kB / 402.5 MB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.01021, allocations: 23.91 kB / 402.6 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.01023, allocations: 13.47 kB / 402.6 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01023, allocations: 4 kB / 402.6 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01024, allocations: 0 / 402.6 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01024, allocations: 0 / 402.6 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.01037, allocations: 161 kB / 402.7 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01037, allocations: 0 / 402.7 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.01043, allocations: 20 kB / 402.8 MB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.955e-05/0.01052, allocations: 31.66 kB / 402.8 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.01053, allocations: 4 kB / 402.8 MB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007069/0.01124, allocations: 1.76 MB / 404.5 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.01124, allocations: 7.984 kB / 404.6 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.01143, allocations: 188 kB / 404.7 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.01147, allocations: 31.8 kB / 404.8 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.01148, allocations: 11.94 kB / 404.8 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.677e-05/0.01153, allocations: 8 kB / 404.8 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.01157, allocations: 15.97 kB / 404.8 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.01157, allocations: 4 kB / 404.8 MB, free: 6.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.679e-05/0.01163, allocations: 156.1 kB / 405 MB, free: 6.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01163, allocations: 0 / 405 MB, free: 6.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001878/0.01182, allocations: 63.83 kB / 405 MB, free: 6.605 MB / 378.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.18e-05/0.0119, allocations: 103.2 kB / 405.1 MB, free: 6.496 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.01212, allocations: 248.5 kB / 405.4 MB, free: 6.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01213, allocations: 3.938 kB / 405.4 MB, free: 6.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.01224, allocations: 220.2 kB / 405.6 MB, free: 5.996 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.01242, allocations: 36.22 kB / 405.6 MB, free: 5.961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006169/0.01304, allocations: 406.4 kB / 406 MB, free: 5.531 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.104e-05/0.01308, allocations: 75.98 kB / 406.1 MB, free: 5.438 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.349e-05/0.01312, allocations: 17.47 kB / 406.1 MB, free: 5.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/0.0132, allocations: 102.2 kB / 406.2 MB, free: 5.32 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.0132, allocations: 0 / 406.2 MB, free: 5.32 MB / 378.7 MB Notification: Performance of Templates: time 0.004028/0.01723, allocations: 2.429 MB / 408.6 MB, free: 2.922 MB / 378.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.0979408361017704]