Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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/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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.301/1.301, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008921/0.0008922, allocations: 183.5 kB / 327.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 0.5785 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009519/0.0009517, allocations: 85.64 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003852, allocations: 15.66 kB / 0.7974 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1984, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1527/0.3511, allocations: 132 MB / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.3514, allocations: 79.95 kB / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002085/0.3535, allocations: 0.9243 MB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3535, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.3535, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003172/0.3538, allocations: 359.3 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3539, allocations: 12.03 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.3539, allocations: 4.844 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.3541, allocations: 184.2 kB / 1.032 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3541, allocations: 4.375 kB / 1.032 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.3541, allocations: 8.375 kB / 1.032 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.3543, allocations: 96.8 kB / 1.032 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3543, allocations: 8.125 kB / 1.032 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3543, allocations: 3.938 kB / 1.032 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3543, allocations: 4 kB / 1.032 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.92e-05/0.3544, allocations: 43.91 kB / 1.032 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.355, allocations: 0.6401 MB / 1.032 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.098e-05/0.3551, allocations: 173.1 kB / 1.033 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.3551, allocations: 80.14 kB / 1.033 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.3551, allocations: 75.28 kB / 1.033 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.3552, allocations: 113.8 kB / 1.033 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.3552, allocations: 0 / 1.033 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.277e-05/0.3553, allocations: 39.27 kB / 1.033 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.3553, allocations: 126.7 kB / 1.033 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.3555, allocations: 181.5 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.3555, allocations: 25.7 kB / 1.033 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.3556, allocations: 99.95 kB / 1.033 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-06/0.3556, allocations: 11.92 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-06/0.3556, allocations: 0 / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.3557, allocations: 322.8 kB / 1.034 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.3557, allocations: 4 kB / 1.034 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.02e-05/0.3557, allocations: 22.56 kB / 1.034 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.206e-05/0.3558, allocations: 30.58 kB / 1.034 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3558, allocations: 3.938 kB / 1.034 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001162/0.3559, allocations: 57.48 kB / 1.034 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3559, allocations: 4 kB / 1.034 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3559, allocations: 0 / 1.034 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.356, allocations: 7.938 kB / 1.034 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.996e-05/0.356, allocations: 7.984 kB / 1.034 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.356, allocations: 0 / 1.034 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.383e-05/0.3561, allocations: 8.031 kB / 1.034 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3561, allocations: 12 kB / 1.034 GB, free: 7.531 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.3562, allocations: 185.1 kB / 1.034 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.3562, allocations: 116.9 kB / 1.034 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.3563, allocations: 116.7 kB / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.661e-05/0.3563, allocations: 176.3 kB / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.615e-05/0.3564, allocations: 188.2 kB / 1.035 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.419e-05/0.3565, allocations: 184.2 kB / 1.035 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.3567, allocations: 425.1 kB / 1.035 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.002e-05/0.3567, allocations: 108.9 kB / 1.035 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.3568, allocations: 105 kB / 1.035 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-05/0.3568, allocations: 180.2 kB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/0.3569, allocations: 184.2 kB / 1.036 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.295e-05/0.3569, allocations: 184.2 kB / 1.036 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.449e-05/0.357, allocations: 176.4 kB / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.3571, allocations: 315.6 kB / 1.036 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.409e-05/0.3572, allocations: 194 kB / 1.036 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.3573, allocations: 188.1 kB / 1.037 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.3574, allocations: 105 kB / 1.037 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.3574, allocations: 176.3 kB / 1.037 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.3575, allocations: 104.9 kB / 1.037 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.499e-05/0.3575, allocations: 127.2 kB / 1.037 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3576, allocations: 0 / 1.037 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002051/0.3578, allocations: 8 kB / 1.037 GB, free: 3.832 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001199/0.3579, allocations: 179.9 kB / 1.037 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.169e-05/0.358, allocations: 8 kB / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.358, allocations: 3.938 kB / 1.037 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.358, allocations: 0 / 1.037 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.3583, allocations: 0.5304 MB / 1.038 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.3586, allocations: 233.9 kB / 1.038 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.3589, allocations: 0.7004 MB / 1.039 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.928e-05/0.3589, allocations: 4 kB / 1.039 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.3589, allocations: 11.44 kB / 1.039 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of SimCode: time 1.673e-06/0.3589, allocations: 0 / 1.039 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of Templates: time 0.001958/0.3609, allocations: 400.2 kB / 1.039 GB, free: 1.711 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)