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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001076/0.001076, allocations: 116.6 kB / 16.37 MB, free: 6 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.001077/0.001077, allocations: 193.5 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8473/0.8473, allocations: 143.1 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.89 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.38, allocations: 82.02 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.00396/0.384, allocations: 2.566 MB / 0.5982 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.3853, allocations: 0.6205 MB / 0.5988 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.3855, allocations: 7.938 kB / 0.5988 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.3857, allocations: 50.7 kB / 0.5988 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.3859, allocations: 67.36 kB / 0.5989 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.3861, allocations: 91.83 kB / 0.599 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.3864, allocations: 322.7 kB / 0.5993 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.3867, allocations: 179.3 kB / 0.5995 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.3869, allocations: 120.5 kB / 0.5996 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.3871, allocations: 127.3 kB / 0.5997 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.3871, allocations: 29.09 kB / 0.5997 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.613e-05/0.3872, allocations: 28 kB / 0.5998 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.3872, allocations: 63.77 kB / 0.5998 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.3873, allocations: 148.7 kB / 0.6 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.3877, allocations: 348.4 kB / 0.6003 GB, free: 11.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3877, allocations: 0 / 0.6003 GB, free: 11.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.125e-06/0.3877, allocations: 0 / 0.6003 GB, free: 11.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.577e-06/0.3877, allocations: 4.719 kB / 0.6003 GB, free: 11.41 MB / 446.1 MB 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.0007838/0.3885, allocations: 0.5589 MB / 0.6008 GB, free: 10.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3885, allocations: 9.438 kB / 0.6009 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.3886, allocations: 36.55 kB / 0.6009 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.3889, allocations: 289.6 kB / 0.6012 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.389, allocations: 20.92 kB / 0.6012 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.389, allocations: 24.38 kB / 0.6012 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.3894, allocations: 222.6 kB / 0.6014 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3894, allocations: 0 / 0.6014 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.3894, allocations: 8 kB / 0.6014 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3894, allocations: 8 kB / 0.6014 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.3897, allocations: 172.4 kB / 0.6016 GB, free: 9.992 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000943/0.3907, allocations: 0.8765 MB / 0.6025 GB, free: 9.027 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.391, allocations: 116.4 kB / 0.6026 GB, free: 8.906 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3912, allocations: 56.23 kB / 0.6026 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.3912, allocations: 11.88 kB / 0.6026 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.3912, allocations: 34.56 kB / 0.6027 GB, free: 8.797 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 2.966e-06/0.3912, allocations: 0 / 0.6027 GB, free: 8.797 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003843/0.3916, allocations: 166.6 kB / 0.6028 GB, free: 8.629 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.3917, allocations: 51.41 kB / 0.6029 GB, free: 8.566 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.3919, allocations: 283 kB / 0.6031 GB, free: 8.281 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.3919, allocations: 30.67 kB / 0.6032 GB, free: 8.246 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.356e-05/0.392, allocations: 168.1 kB / 0.6033 GB, free: 8.078 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.392, allocations: 36.61 kB / 0.6034 GB, free: 8.043 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.392, allocations: 29.7 kB / 0.6034 GB, free: 8.008 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.693e-05/0.3921, allocations: 336.2 kB / 0.6037 GB, free: 7.672 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.893e-05/0.3922, allocations: 31.98 kB / 0.6037 GB, free: 7.641 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.904e-05/0.3923, allocations: 41.5 kB / 0.6038 GB, free: 7.602 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3925, allocations: 95.11 kB / 0.6039 GB, free: 7.508 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3925, allocations: 1.344 kB / 0.6039 GB, free: 7.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002166/0.3927, allocations: 133.4 kB / 0.604 GB, free: 7.371 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3927, allocations: 5.312 kB / 0.604 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3927, allocations: 4 kB / 0.604 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3927, allocations: 3.984 kB / 0.604 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.3929, allocations: 21.27 kB / 0.604 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3929, allocations: 0 / 0.604 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.393, allocations: 24.52 kB / 0.6041 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.393, allocations: 4 kB / 0.6041 GB, free: 7.312 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.3931, allocations: 139.1 kB / 0.6042 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.3932, allocations: 19.72 kB / 0.6042 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.3932, allocations: 31.16 kB / 0.6042 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3932, allocations: 0 / 0.6042 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3932, allocations: 0 / 0.6042 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3932, allocations: 7.938 kB / 0.6043 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.3935, allocations: 286.8 kB / 0.6045 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.3935, allocations: 0 / 0.6045 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.3936, allocations: 25.45 kB / 0.6046 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3936, allocations: 4 kB / 0.6046 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.3936, allocations: 4.375 kB / 0.6046 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3936, allocations: 0 / 0.6046 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3937, allocations: 7.969 kB / 0.6046 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.3939, allocations: 241.4 kB / 0.6048 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.3939, allocations: 100.8 kB / 0.6049 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.394, allocations: 1.031 kB / 0.6049 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.3941, allocations: 11.98 kB / 0.6049 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.3942, allocations: 13.36 kB / 0.6049 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.3942, allocations: 4 kB / 0.6049 GB, free: 6.348 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.3943, allocations: 202 kB / 0.6051 GB, free: 6.152 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.002e-06/0.3943, allocations: 1.344 kB / 0.6051 GB, free: 6.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.3946, allocations: 47.84 kB / 0.6052 GB, free: 6.105 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.521e-05/0.3947, allocations: 100.7 kB / 0.6053 GB, free: 6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002363/0.3949, allocations: 91.89 kB / 0.6053 GB, free: 5.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3949, allocations: 1.344 kB / 0.6054 GB, free: 5.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.43e-05/0.395, allocations: 47.98 kB / 0.6054 GB, free: 5.863 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.3954, allocations: 36.88 kB / 0.6054 GB, free: 5.824 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005943/0.396, allocations: 410.8 kB / 0.6058 GB, free: 5.395 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.3961, allocations: 0.7506 MB / 0.6066 GB, free: 4.621 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.033e-05/0.3962, allocations: 20.45 kB / 0.6066 GB, free: 4.605 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.3963, allocations: 23.44 kB / 0.6066 GB, free: 4.582 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3963, allocations: 0.5 kB / 0.6066 GB, free: 4.582 MB / 446.1 MB Notification: Performance of Templates: time 0.004539/0.4008, allocations: 2.213 MB / 0.6088 GB, free: 2.469 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1)