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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Thermal.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") translateModel(HanserModelica.Thermal.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05859/0.05859, allocations: 8.716 MB / 16.79 MB, free: 3.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 221.5 MB / 240.9 MB, free: 13.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009106/0.0009106, allocations: 91.56 kB / 293.8 MB, free: 7.172 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.322e-05/1.323e-05, allocations: 0 / 352.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1206, allocations: 52.54 MB / 405.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3521/0.4728, allocations: 79.56 MB / 484.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.473, allocations: 70.78 kB / 484.8 MB, free: 7.766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007725/0.4808, allocations: 3.408 MB / 488.2 MB, free: 4.953 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4808, allocations: 0 / 488.2 MB, free: 4.953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.4808, allocations: 4 kB / 488.2 MB, free: 4.949 MB / 346.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.0005894/0.4814, allocations: 463.6 kB / 488.7 MB, free: 4.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4815, allocations: 11.98 kB / 488.7 MB, free: 4.461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.154e-05/0.4816, allocations: 26.41 kB / 488.7 MB, free: 4.438 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.4818, allocations: 229.2 kB / 488.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.4818, allocations: 4 kB / 488.9 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.4819, allocations: 15.95 kB / 488.9 MB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002232/0.4821, allocations: 106.6 kB / 489.1 MB, free: 4.102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.4824, allocations: 147.1 kB / 489.2 MB, free: 3.969 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.4824, allocations: 0 / 489.2 MB, free: 3.969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.4824, allocations: 4 kB / 489.2 MB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4824, allocations: 4 kB / 489.2 MB, free: 3.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009794/0.4834, allocations: 0.6963 MB / 489.9 MB, free: 3.215 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.4837, allocations: 124.9 kB / 490 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.126e-05/0.4837, allocations: 48.86 kB / 490.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.4838, allocations: 0 / 490.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.4839, allocations: 91.38 kB / 490.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.465e-06/0.4839, allocations: 0 / 490.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003264/0.4843, allocations: 140.8 kB / 490.3 MB, free: 2.789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.4843, allocations: 51.41 kB / 490.3 MB, free: 2.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.4844, allocations: 142.5 kB / 490.5 MB, free: 2.574 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.4844, allocations: 29.7 kB / 490.5 MB, free: 2.539 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.4845, allocations: 138.7 kB / 490.6 MB, free: 2.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.4845, allocations: 51.27 kB / 490.7 MB, free: 2.352 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.4846, allocations: 0 / 490.7 MB, free: 2.352 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.746e-05/0.4846, allocations: 322.8 kB / 491 MB, free: 2.027 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-05/0.4847, allocations: 28 kB / 491 MB, free: 2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.899e-05/0.4847, allocations: 67.88 kB / 491.1 MB, free: 1.922 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.907e-05/0.4848, allocations: 31.98 kB / 491.1 MB, free: 1.891 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4848, allocations: 4 kB / 491.1 MB, free: 1.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002353/0.4851, allocations: 147.4 kB / 491.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4851, allocations: 8.625 kB / 491.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4851, allocations: 3.984 kB / 491.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/0.4853, allocations: 32.78 kB / 491.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.4854, allocations: 23.98 kB / 491.4 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007528/0.4861, allocations: 1.316 MB / 492.7 MB, free: 240 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.4863, allocations: 12.09 kB / 492.7 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.4863, allocations: 8 kB / 492.7 MB, free: 220 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.514e-05/0.4864, allocations: 104.9 kB / 492.8 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.4864, allocations: 16.62 kB / 492.8 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.705e-05/0.4864, allocations: 21.95 kB / 492.8 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4864, allocations: 0 / 492.8 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4864, allocations: 0 / 492.8 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.4865, allocations: 0 / 492.8 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.4867, allocations: 231.2 kB / 493.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4867, allocations: 0 / 493.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.4869, allocations: 24.75 kB / 493.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/0.487, allocations: 33.48 kB / 493.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.487, allocations: 4 kB / 493.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009774/0.488, allocations: 1.298 MB / 494.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.488, allocations: 1.25 kB / 494.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.4883, allocations: 220.5 kB / 494.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/0.4884, allocations: 105.1 kB / 494.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.4885, allocations: 0 / 494.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.4886, allocations: 11.98 kB / 494.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.4886, allocations: 13.62 kB / 494.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.4887, allocations: 7.984 kB / 494.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.61e-05/0.4888, allocations: 118.1 kB / 494.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4888, allocations: 0 / 494.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002655/0.489, allocations: 48.59 kB / 494.9 MB, free: 13.8 MB / 362.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,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001202/0.4892, allocations: 103.4 kB / 495 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003253/0.4895, allocations: 205.4 kB / 495.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4895, allocations: 0 / 495.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.4897, allocations: 157.7 kB / 495.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.4899, allocations: 36.14 kB / 495.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005674/0.4905, allocations: 280.7 kB / 495.7 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.4909, allocations: 0.7323 MB / 496.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.82e-05/0.4909, allocations: 13.2 kB / 496.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.491, allocations: 15.44 kB / 496.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.491, allocations: 4 kB / 496.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of Templates: time 0.005388/0.4964, allocations: 1.755 MB / 498.2 MB, free: 10.52 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.Thermal.Coupling.makefile (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)