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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.174/1.174, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004562, allocations: 12 kB / 0.5158 GB, free: 11.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2213, allocations: 83.42 MB / 0.5973 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.002777/0.2241, allocations: 2.069 MB / 0.5993 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.2252, allocations: 0.5886 MB / 0.5999 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.2254, allocations: 7.938 kB / 0.5999 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.534e-05/0.2254, allocations: 23.77 kB / 0.5999 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.2256, allocations: 83.75 kB / 0.6 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.2258, allocations: 67.88 kB / 0.6 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.2262, allocations: 207.5 kB / 0.6002 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.2264, allocations: 129.1 kB / 0.6004 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.2266, allocations: 83.64 kB / 0.6004 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.2267, allocations: 99.48 kB / 0.6005 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.2268, allocations: 8 kB / 0.6005 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.395e-05/0.2268, allocations: 16 kB / 0.6006 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.758e-05/0.2268, allocations: 35.8 kB / 0.6006 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.452e-05/0.2269, allocations: 73.58 kB / 0.6007 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.2272, allocations: 247.6 kB / 0.6009 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2272, allocations: 0 / 0.6009 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2272, allocations: 0 / 0.6009 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.2272, allocations: 0 / 0.6009 GB, free: 4.098 MB / 0.4981 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.0008411/0.228, allocations: 0.5261 MB / 0.6014 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.2281, allocations: 11.97 kB / 0.6014 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.833e-05/0.2282, allocations: 35.58 kB / 0.6015 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.2285, allocations: 262.5 kB / 0.6017 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.2286, allocations: 20.56 kB / 0.6017 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/0.2286, allocations: 24 kB / 0.6017 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.2291, allocations: 220.9 kB / 0.602 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2291, allocations: 0 / 0.602 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.2291, allocations: 12 kB / 0.602 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.2292, allocations: 11.95 kB / 0.602 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.2295, allocations: 178 kB / 0.6021 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.2308, allocations: 0.8874 MB / 0.603 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/0.2312, allocations: 118.6 kB / 0.6031 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.2312, allocations: 0 / 0.6031 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.2312, allocations: 42.58 kB / 0.6032 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/0.2313, allocations: 7.922 kB / 0.6032 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004882/0.2318, allocations: 177.5 kB / 0.6033 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.2318, allocations: 51.41 kB / 0.6034 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.2321, allocations: 282.9 kB / 0.6037 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.2321, allocations: 25.7 kB / 0.6037 GB, free: 1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.2323, allocations: 172.1 kB / 0.6039 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.2323, allocations: 35.53 kB / 0.6039 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.2323, allocations: 4 kB / 0.6039 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2325, allocations: 330.8 kB / 0.6042 GB, free: 468 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.2326, allocations: 43.98 kB / 0.6042 GB, free: 424 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.778e-05/0.2327, allocations: 43.97 kB / 0.6043 GB, free: 380 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.2328, allocations: 36 kB / 0.6043 GB, free: 344 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2328, allocations: 3.938 kB / 0.6043 GB, free: 340 kB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002755/0.2331, allocations: 153.3 kB / 0.6045 GB, free: 180 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.2331, allocations: 7.953 kB / 0.6045 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.2332, allocations: 0 / 0.6045 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2332, allocations: 0 / 0.6045 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.2333, allocations: 27.97 kB / 0.6045 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.2333, allocations: 0 / 0.6045 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.2335, allocations: 35.73 kB / 0.6045 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.2335, allocations: 4 kB / 0.6045 GB, free: 104 kB / 0.4981 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.398/0.6315, allocations: 130.2 kB / 0.6047 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-05/0.6316, allocations: 25.59 kB / 0.6047 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.251e-05/0.6317, allocations: 29.66 kB / 0.6047 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.6317, allocations: 0.6875 kB / 0.6047 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.6317, allocations: 1.797 kB / 0.6047 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.6318, allocations: 0 / 0.6047 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.6321, allocations: 288.6 kB / 0.605 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.6321, allocations: 3.25 kB / 0.605 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.6323, allocations: 23 kB / 0.605 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.6323, allocations: 0 / 0.605 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.6324, allocations: 3.531 kB / 0.605 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.6324, allocations: 1.031 kB / 0.605 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6324, allocations: 1.188 kB / 0.605 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.6327, allocations: 246.4 kB / 0.6053 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.6328, allocations: 99.14 kB / 0.6054 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.6328, allocations: 5.844 kB / 0.6054 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.633, allocations: 19.86 kB / 0.6054 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.633, allocations: 6.828 kB / 0.6054 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.633, allocations: 7.375 kB / 0.6054 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001688/0.6332, allocations: 200.9 kB / 0.6056 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6332, allocations: 0.7188 kB / 0.6056 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003006/0.6335, allocations: 45.94 kB / 0.6056 GB, free: 40.05 MB / 0.4981 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 8.15e-05/0.6336, allocations: 100.6 kB / 0.6057 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002782/0.6339, allocations: 98.14 kB / 0.6058 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6339, allocations: 0 / 0.6058 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.634, allocations: 51.58 kB / 0.6059 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.6344, allocations: 41.41 kB / 0.6059 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006221/0.635, allocations: 499.5 kB / 0.6064 GB, free: 39.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.6352, allocations: 0.7569 MB / 0.6071 GB, free: 38.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.157e-05/0.6353, allocations: 21.67 kB / 0.6071 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.6354, allocations: 21.42 kB / 0.6072 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.6354, allocations: 0 / 0.6072 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of Templates: time 0.004594/0.64, allocations: 1.948 MB / 0.6091 GB, free: 38.9 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: