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.001506/0.001506, allocations: 88.72 kB / 19.44 MB, free: 352 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.569/1.569, allocations: 177.1 MB / 199.7 MB, free: 4.82 MB / 186.7 MB " [Timeout remaining time 178] 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.002286/0.002286, allocations: 159.8 kB / 256.3 MB, free: 348 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.0428/0.0428, allocations: 6.659 MB / 319.4 MB, free: 1.359 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.903e-06/1.903e-06, allocations: 0 / 390.9 MB, free: 58.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.354e-05, allocations: 10.25 kB / 390.9 MB, free: 58.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003398/0.003432, allocations: 2.333 MB / 393.2 MB, free: 56.33 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.004664, allocations: 0.5854 MB / 393.8 MB, free: 55.74 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.004847, allocations: 7.938 kB / 393.8 MB, free: 55.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.005027, allocations: 35.64 kB / 393.9 MB, free: 55.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.00519, allocations: 75.34 kB / 393.9 MB, free: 55.62 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.005435, allocations: 59.8 kB / 394 MB, free: 55.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.005687, allocations: 254.6 kB / 394.2 MB, free: 55.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.005861, allocations: 56.48 kB / 394.3 MB, free: 55.26 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.006036, allocations: 139.7 kB / 394.4 MB, free: 55.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.00618, allocations: 79.72 kB / 394.5 MB, free: 55.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.006216, allocations: 16 kB / 394.5 MB, free: 55.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.443e-05/0.00625, allocations: 20 kB / 394.6 MB, free: 55.01 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.006292, allocations: 39.83 kB / 394.6 MB, free: 54.97 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.006395, allocations: 79.84 kB / 394.7 MB, free: 54.89 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.006739, allocations: 227.3 kB / 394.9 MB, free: 54.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.006745, allocations: 0 / 394.9 MB, free: 54.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.596e-06/0.006749, allocations: 4 kB / 394.9 MB, free: 54.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.006758, allocations: 0 / 394.9 MB, free: 54.67 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.0008277/0.007586, allocations: 445.1 kB / 395.3 MB, free: 54.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.007637, allocations: 11.98 kB / 395.3 MB, free: 54.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.984e-05/0.007727, allocations: 36.8 kB / 395.4 MB, free: 54.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.007974, allocations: 177.5 kB / 395.5 MB, free: 53.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.007994, allocations: 16.38 kB / 395.6 MB, free: 53.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.577e-05/0.00804, allocations: 16.38 kB / 395.6 MB, free: 53.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.008346, allocations: 213.5 kB / 395.8 MB, free: 53.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.008363, allocations: 4.141 kB / 395.8 MB, free: 53.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.008382, allocations: 4.375 kB / 395.8 MB, free: 53.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.008391, allocations: 11.94 kB / 395.8 MB, free: 53.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.008612, allocations: 111.9 kB / 395.9 MB, free: 53.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009544/0.009566, allocations: 0.6351 MB / 396.6 MB, free: 52.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.009841, allocations: 121.7 kB / 396.7 MB, free: 52.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.975e-05/0.00992, allocations: 44.84 kB / 396.7 MB, free: 52.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.00994, allocations: 4 kB / 396.7 MB, free: 52.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.0101, allocations: 117.1 kB / 396.8 MB, free: 52.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.0101, allocations: 0 / 396.8 MB, free: 52.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006358/0.01074, allocations: 225.8 kB / 397.1 MB, free: 52.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.01077, allocations: 59.41 kB / 397.1 MB, free: 52.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.01089, allocations: 175.5 kB / 397.3 MB, free: 52.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.01091, allocations: 25.7 kB / 397.3 MB, free: 52.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.01097, allocations: 140.4 kB / 397.4 MB, free: 51.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.011, allocations: 51.58 kB / 397.5 MB, free: 51.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.01105, allocations: 37.67 kB / 397.5 MB, free: 51.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.076e-05/0.01111, allocations: 326.8 kB / 397.9 MB, free: 51.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.01e-05/0.01118, allocations: 35.98 kB / 397.9 MB, free: 51.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-05/0.01125, allocations: 76.2 kB / 398 MB, free: 51.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.01137, allocations: 104.2 kB / 398.1 MB, free: 51.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01137, allocations: 0 / 398.1 MB, free: 51.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002794/0.01165, allocations: 198.2 kB / 398.3 MB, free: 51.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.01167, allocations: 8 kB / 398.3 MB, free: 51.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.01168, allocations: 0 / 398.3 MB, free: 51.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002384/0.01192, allocations: 32.84 kB / 398.3 MB, free: 51.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.01203, allocations: 31.92 kB / 398.3 MB, free: 50.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009172/0.01295, allocations: 1.339 MB / 399.7 MB, free: 49.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.01307, allocations: 27.83 kB / 399.7 MB, free: 49.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.01308, allocations: 7.984 kB / 399.7 MB, free: 49.51 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 0.0001101/0.01319, allocations: 129.8 kB / 399.8 MB, free: 49.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.01321, allocations: 15.91 kB / 399.8 MB, free: 49.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.01325, allocations: 21.47 kB / 399.9 MB, free: 49.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01325, allocations: 4 kB / 399.9 MB, free: 49.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01326, allocations: 0 / 399.9 MB, free: 49.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.01327, allocations: 7.922 kB / 399.9 MB, free: 49.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.01345, allocations: 173.2 kB / 400 MB, free: 49.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01345, allocations: 4 kB / 400.1 MB, free: 49.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.89e-05/0.01355, allocations: 27.92 kB / 400.1 MB, free: 49.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001342/0.01368, allocations: 40.95 kB / 400.1 MB, free: 49.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.0137, allocations: 0 / 400.1 MB, free: 49.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007862/0.01448, allocations: 1.331 MB / 401.4 MB, free: 47.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.01449, allocations: 8.031 kB / 401.5 MB, free: 47.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.01483, allocations: 245.1 kB / 401.7 MB, free: 47.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.01489, allocations: 27.92 kB / 401.7 MB, free: 47.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.01491, allocations: 0 / 401.7 MB, free: 47.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.01501, allocations: 12 kB / 401.7 MB, free: 47.31 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.01508, allocations: 11.97 kB / 401.7 MB, free: 47.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.01509, allocations: 8 kB / 401.8 MB, free: 47.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.108e-05/0.01517, allocations: 123.2 kB / 401.9 MB, free: 47.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01517, allocations: 0 / 401.9 MB, free: 47.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.01546, allocations: 55.89 kB / 401.9 MB, free: 47.11 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 0.0001024/0.01556, allocations: 99.31 kB / 402 MB, free: 47.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003721/0.01594, allocations: 217.5 kB / 402.2 MB, free: 46.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01594, allocations: 4 kB / 402.2 MB, free: 46.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.01609, allocations: 170.5 kB / 402.4 MB, free: 46.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.01639, allocations: 42.36 kB / 402.5 MB, free: 46.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007266/0.01712, allocations: 397 kB / 402.8 MB, free: 46.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.399e-05/0.0172, allocations: 120.9 kB / 403 MB, free: 46.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.135e-05/0.01727, allocations: 13.48 kB / 403 MB, free: 46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.01731, allocations: 16.5 kB / 403 MB, free: 45.98 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01731, allocations: 0 / 403 MB, free: 45.98 MB / 314.7 MB Notification: Performance of Templates: time 0.005583/0.0229, allocations: 2.211 MB / 405.2 MB, free: 43.82 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.296606046962552]