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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 173.8 kB / 16.12 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.06511/0.06511, allocations: 8.768 MB / 25.63 MB, free: 3.75 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.4 MB / 233.9 MB, free: 12.49 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008205/0.0008204, allocations: 97.05 kB / 284.4 MB, free: 14.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004303, allocations: 16 kB / 344.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2574, allocations: 49.7 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1049/0.3623, allocations: 79.23 MB / 473.7 MB, free: 5.434 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.3626, allocations: 67.97 kB / 473.8 MB, free: 5.367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008859/0.3715, allocations: 3.409 MB / 477.2 MB, free: 1.949 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3715, allocations: 0 / 477.2 MB, free: 1.949 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.3715, allocations: 4 kB / 477.2 MB, free: 1.945 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.0006684/0.3722, allocations: 490.5 kB / 477.7 MB, free: 1.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3723, allocations: 8.031 kB / 477.7 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.3723, allocations: 24.66 kB / 477.7 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.3726, allocations: 228 kB / 477.9 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.3726, allocations: 8.375 kB / 477.9 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.3727, allocations: 20.38 kB / 478 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.373, allocations: 191.7 kB / 478.1 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.373, allocations: 4.188 kB / 478.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.373, allocations: 19.92 kB / 478.2 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3731, allocations: 4 kB / 478.2 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.3733, allocations: 108 kB / 478.3 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.3744, allocations: 0.7364 MB / 479 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.3747, allocations: 142.7 kB / 479.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.239e-05/0.3748, allocations: 52.84 kB / 479.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.3748, allocations: 4 kB / 479.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.375, allocations: 87.38 kB / 479.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.375, allocations: 0 / 479.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006615/0.3757, allocations: 295.2 kB / 479.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.3758, allocations: 55.41 kB / 479.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.376, allocations: 187.1 kB / 479.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.376, allocations: 25.7 kB / 479.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/0.3761, allocations: 152.2 kB / 480 MB, free: 14.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.3761, allocations: 43.36 kB / 480 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.3762, allocations: 7.938 kB / 480 MB, free: 14.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3763, allocations: 322.8 kB / 480.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.38e-05/0.3764, allocations: 35.98 kB / 480.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.397e-05/0.3764, allocations: 63.41 kB / 480.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.3766, allocations: 99.38 kB / 480.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3766, allocations: 0 / 480.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002855/0.3769, allocations: 174.7 kB / 480.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3769, allocations: 9.25 kB / 480.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3769, allocations: 3.938 kB / 480.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/0.3771, allocations: 36.92 kB / 480.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.3772, allocations: 27.98 kB / 480.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.3784, allocations: 1.355 MB / 482.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.3785, allocations: 27.8 kB / 482.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.3785, allocations: 4 kB / 482.2 MB, free: 12.51 MB / 362.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 () * Number of clocked 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 0.0001233/0.3787, allocations: 143.8 kB / 482.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.3787, allocations: 15.81 kB / 482.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/0.3788, allocations: 29.58 kB / 482.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3788, allocations: 144 / 482.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3788, allocations: 7.938 kB / 482.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3788, allocations: 3.984 kB / 482.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.3791, allocations: 261.4 kB / 482.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3791, allocations: 0 / 482.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.3792, allocations: 19.98 kB / 482.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/0.3793, allocations: 32.84 kB / 482.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3793, allocations: 4 kB / 482.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.3804, allocations: 1.359 MB / 484.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3804, allocations: 0 / 484.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.3808, allocations: 237.7 kB / 484.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.431e-05/0.3809, allocations: 104.9 kB / 484.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.3809, allocations: 4 kB / 484.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.381, allocations: 11.98 kB / 484.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.3811, allocations: 23.97 kB / 484.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.3811, allocations: 8 kB / 484.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.3812, allocations: 129.2 kB / 484.6 MB, free: 9.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3812, allocations: 0 / 484.6 MB, free: 9.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002677/0.3815, allocations: 55.91 kB / 484.6 MB, free: 9.855 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 () * 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 (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.0001332/0.3816, allocations: 107.1 kB / 484.7 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003951/0.382, allocations: 218.7 kB / 484.9 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.382, allocations: 0 / 484.9 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.3822, allocations: 174.6 kB / 485.1 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.3825, allocations: 32.06 kB / 485.1 MB, free: 9.297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009512/0.3835, allocations: 0.5417 MB / 485.7 MB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.384, allocations: 0.732 MB / 486.4 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.763e-05/0.3841, allocations: 17.55 kB / 486.4 MB, free: 7.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.3841, allocations: 15.44 kB / 486.4 MB, free: 7.938 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3841, allocations: 0 / 486.4 MB, free: 7.938 MB / 362.7 MB Notification: Performance of Templates: time 0.0058/0.3899, allocations: 2.083 MB / 488.5 MB, free: 5.863 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)