Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.Building.Examples.HeatRecoveryVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=24,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation") translateModel(BuildSysPro.Building.Examples.HeatRecoveryVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=24,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6175/0.6175, allocations: 117.9 MB / 133.9 MB, free: 4.508 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 180.6 kB / 161.7 MB, free: 2.746 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.4 MB / 394.8 MB, free: 21.2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007706/0.0007707, allocations: 96.91 kB / 470.1 MB, free: 12.37 MB / 362.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003907, allocations: 16 kB / 0.5423 GB, free: 7.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3343, allocations: 74.52 MB / 0.6151 GB, free: 54.15 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.5324, allocations: 103.1 MB / 0.7158 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.5327, allocations: 47.98 kB / 0.7159 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01048/0.5432, allocations: 4.187 MB / 0.7199 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.225e-06/0.5433, allocations: 4 kB / 0.7199 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.224e-05/0.5433, allocations: 11.98 kB / 0.72 GB, free: 10.63 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007055/0.544, allocations: 0.5223 MB / 0.7205 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.5441, allocations: 12.03 kB / 0.7205 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/0.5441, allocations: 32.56 kB / 0.7205 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.5444, allocations: 275.8 kB / 0.7208 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.5445, allocations: 20.94 kB / 0.7208 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.5445, allocations: 20.38 kB / 0.7208 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.545, allocations: 221.5 kB / 0.721 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.545, allocations: 192 / 0.721 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.545, allocations: 15.88 kB / 0.721 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.545, allocations: 8 kB / 0.721 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.5454, allocations: 178.1 kB / 0.7212 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.5466, allocations: 0.895 MB / 0.7221 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.547, allocations: 130.7 kB / 0.7222 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.5471, allocations: 52.97 kB / 0.7223 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.5471, allocations: 4 kB / 0.7223 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.5472, allocations: 38.56 kB / 0.7223 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.5472, allocations: 0 / 0.7223 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0004359/0.5476, allocations: 177.3 kB / 0.7225 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.5477, allocations: 59.39 kB / 0.7225 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.5479, allocations: 271 kB / 0.7228 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.548, allocations: 29.7 kB / 0.7228 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.5481, allocations: 176 kB / 0.723 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.5481, allocations: 31.55 kB / 0.723 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/0.5481, allocations: 0 / 0.723 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.5483, allocations: 342.8 kB / 0.7233 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.5484, allocations: 39.98 kB / 0.7234 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.868e-05/0.5485, allocations: 39.98 kB / 0.7234 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.5487, allocations: 92.77 kB / 0.7235 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5487, allocations: 0 / 0.7235 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000299/0.549, allocations: 153.3 kB / 0.7237 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.549, allocations: 4 kB / 0.7237 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.549, allocations: 0 / 0.7237 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.549, allocations: 0 / 0.7237 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.5492, allocations: 23.98 kB / 0.7237 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.5492, allocations: 0 / 0.7237 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.5493, allocations: 31.83 kB / 0.7237 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.5493, allocations: 7.938 kB / 0.7237 GB, free: 6.512 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (booleanExpression.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001302/0.5495, allocations: 133.8 kB / 0.7238 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.5495, allocations: 23.72 kB / 0.7239 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.5496, allocations: 30.16 kB / 0.7239 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.5496, allocations: 0 / 0.7239 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5496, allocations: 4 kB / 0.7239 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5496, allocations: 0 / 0.7239 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.5499, allocations: 301.2 kB / 0.7242 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.55, allocations: 0 / 0.7242 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.5501, allocations: 23.98 kB / 0.7242 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.5501, allocations: 4 kB / 0.7242 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.5501, allocations: 0 / 0.7242 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5501, allocations: 3.938 kB / 0.7242 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5501, allocations: 0 / 0.7242 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.5504, allocations: 247.1 kB / 0.7245 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.5505, allocations: 96.81 kB / 0.7245 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.5506, allocations: 8 kB / 0.7246 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.5507, allocations: 15.98 kB / 0.7246 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/0.5508, allocations: 7.984 kB / 0.7246 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.5508, allocations: 8 kB / 0.7246 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001829/0.551, allocations: 201.9 kB / 0.7248 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.551, allocations: 3.938 kB / 0.7248 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002624/0.5513, allocations: 43.84 kB / 0.7248 GB, free: 5.285 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (booleanExpression.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001004/0.5514, allocations: 103 kB / 0.7249 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.5516, allocations: 96.23 kB / 0.725 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5516, allocations: 0 / 0.725 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.5518, allocations: 51.97 kB / 0.7251 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.5522, allocations: 45.03 kB / 0.7251 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007355/0.5529, allocations: 0.4923 MB / 0.7256 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.5532, allocations: 0.7518 MB / 0.7263 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.5533, allocations: 21.94 kB / 0.7263 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.5534, allocations: 15.44 kB / 0.7264 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of SimCode: time 2.31e-07/0.5534, allocations: 4 kB / 0.7264 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of Templates: time 0.004928/0.5583, allocations: 1.985 MB / 0.7283 GB, free: 1.691 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.makefile (rm -f BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.sim & ./BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1)