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.001386/0.001386, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0507/0.0507, allocations: 8.702 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 221.4 MB / 246 MB, free: 3.605 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.0009349/0.000935, allocations: 86.06 kB / 299.1 MB, free: 3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.748e-05/2.75e-05, allocations: 4 kB / 359.5 MB, free: 6.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.234, allocations: 52.54 MB / 412 MB, free: 22.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09964/0.3337, allocations: 80.24 MB / 492.3 MB, free: 6.219 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.334, allocations: 67.97 kB / 492.4 MB, free: 6.152 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009091/0.3431, allocations: 3.458 MB / 495.8 MB, free: 2.684 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3431, allocations: 0 / 495.8 MB, free: 2.684 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.3431, allocations: 4 kB / 495.8 MB, free: 2.68 MB / 362.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.0005822/0.3437, allocations: 469.8 kB / 496.3 MB, free: 2.176 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3438, allocations: 8.031 kB / 496.3 MB, free: 2.168 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.3438, allocations: 23.72 kB / 496.3 MB, free: 2.145 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.3441, allocations: 218.8 kB / 496.5 MB, free: 1.891 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.3441, allocations: 12 kB / 496.5 MB, free: 1.879 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.3442, allocations: 20 kB / 496.5 MB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.3445, allocations: 191.2 kB / 496.7 MB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3446, allocations: 0 / 496.7 MB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.3446, allocations: 8 kB / 496.7 MB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.3446, allocations: 7.984 kB / 496.8 MB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.3448, allocations: 111.9 kB / 496.9 MB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.346, allocations: 0.7402 MB / 497.6 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.3463, allocations: 126.7 kB / 497.7 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.76e-05/0.3464, allocations: 48.86 kB / 497.8 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.3464, allocations: 7.938 kB / 497.8 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.3466, allocations: 87.38 kB / 497.9 MB, free: 452 kB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.3466, allocations: 4 kB / 497.9 MB, free: 448 kB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003881/0.347, allocations: 154.2 kB / 498 MB, free: 284 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.347, allocations: 55.41 kB / 498.1 MB, free: 216 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.3472, allocations: 166.3 kB / 498.2 MB, free: 36 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3472, allocations: 25.7 kB / 498.3 MB, free: 4 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3473, allocations: 148.2 kB / 498.4 MB, free: 15.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.3474, allocations: 47.27 kB / 498.5 MB, free: 15.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.3474, allocations: 0 / 498.5 MB, free: 15.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3475, allocations: 330.8 kB / 498.8 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.222e-05/0.3476, allocations: 35.94 kB / 498.8 MB, free: 15.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.341e-05/0.3477, allocations: 61.31 kB / 498.9 MB, free: 15.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.094e-05/0.3478, allocations: 35.98 kB / 498.9 MB, free: 15.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3478, allocations: 0 / 498.9 MB, free: 15.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002943/0.3481, allocations: 185.3 kB / 499.1 MB, free: 15.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3481, allocations: 4 kB / 499.1 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.3481, allocations: 0 / 499.1 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001888/0.3483, allocations: 32.84 kB / 499.1 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3484, allocations: 23.98 kB / 499.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.3496, allocations: 1.367 MB / 0.4888 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.3498, allocations: 19.83 kB / 0.4888 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.3498, allocations: 12.06 kB / 0.4888 GB, free: 13.55 MB / 378.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 9.2e-05/0.3499, allocations: 120.8 kB / 0.4889 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.3499, allocations: 15.81 kB / 0.4889 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.35, allocations: 21.64 kB / 0.489 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.35, allocations: 0 / 0.489 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.35, allocations: 4 kB / 0.489 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.35, allocations: 0 / 0.489 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.3503, allocations: 265.3 kB / 0.4892 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3503, allocations: 4 kB / 0.4892 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.3504, allocations: 16 kB / 0.4892 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/0.3505, allocations: 36.83 kB / 0.4893 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.3506, allocations: 4 kB / 0.4893 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.3516, allocations: 1.351 MB / 0.4906 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3516, allocations: 3.938 kB / 0.4906 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.352, allocations: 229.6 kB / 0.4908 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.323e-05/0.3521, allocations: 104.9 kB / 0.4909 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.3521, allocations: 8.125 kB / 0.4909 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.3522, allocations: 11.98 kB / 0.4909 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.3523, allocations: 15.98 kB / 0.491 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.3523, allocations: 11.94 kB / 0.491 GB, free: 11.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.3524, allocations: 133.2 kB / 0.4911 GB, free: 10.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3525, allocations: 3.938 kB / 0.4911 GB, free: 10.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002843/0.3528, allocations: 59.84 kB / 0.4912 GB, free: 10.92 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,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.0001371/0.3529, allocations: 99.25 kB / 0.4912 GB, free: 10.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003793/0.3533, allocations: 210.6 kB / 0.4914 GB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3533, allocations: 0 / 0.4914 GB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.3535, allocations: 174.5 kB / 0.4916 GB, free: 10.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.3538, allocations: 36.3 kB / 0.4917 GB, free: 10.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/0.3543, allocations: 290.3 kB / 0.4919 GB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.3547, allocations: 0.7401 MB / 0.4926 GB, free: 9.309 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.653e-05/0.3547, allocations: 13.55 kB / 0.4927 GB, free: 9.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.3548, allocations: 19.38 kB / 0.4927 GB, free: 9.277 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3548, allocations: 4 kB / 0.4927 GB, free: 9.273 MB / 378.7 MB Notification: Performance of Templates: time 0.005069/0.3599, allocations: 2.056 MB / 0.4947 GB, free: 7.242 MB / 378.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)