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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.001706/0.001706, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001815/0.001815, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.415/1.415, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9228/0.9228, allocations: 143.3 MB / 434.4 MB, free: 11.93 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.91 kB / 0.515 GB, free: 15.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3697, allocations: 82.03 MB / 0.5952 GB, free: 16.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.003814/0.3736, allocations: 2.567 MB / 0.5977 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3748, allocations: 0.6199 MB / 0.5983 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003124/0.3751, allocations: 4.562 kB / 0.5983 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.3753, allocations: 55.39 kB / 0.5983 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.3756, allocations: 69.81 kB / 0.5984 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.3759, allocations: 87.83 kB / 0.5985 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.3763, allocations: 328.6 kB / 0.5988 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.3766, allocations: 176.1 kB / 0.599 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.3768, allocations: 123.6 kB / 0.5991 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.377, allocations: 131.3 kB / 0.5992 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.424e-05/0.3771, allocations: 28 kB / 0.5992 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.58e-05/0.3771, allocations: 28 kB / 0.5993 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.728e-05/0.3772, allocations: 63.77 kB / 0.5993 GB, free: 11.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.3773, allocations: 143.3 kB / 0.5994 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.3776, allocations: 337.4 kB / 0.5998 GB, free: 11.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3776, allocations: 1.5 kB / 0.5998 GB, free: 11.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3776, allocations: 4 kB / 0.5998 GB, free: 11.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.3776, allocations: 0 / 0.5998 GB, free: 11.29 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.0008368/0.3785, allocations: 0.5646 MB / 0.6003 GB, free: 10.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3785, allocations: 8.781 kB / 0.6003 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/0.3786, allocations: 32.56 kB / 0.6004 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.3789, allocations: 285 kB / 0.6006 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.3789, allocations: 16.94 kB / 0.6007 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.379, allocations: 24.38 kB / 0.6007 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.3794, allocations: 222.4 kB / 0.6009 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3794, allocations: 0 / 0.6009 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.3794, allocations: 8 kB / 0.6009 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.3794, allocations: 8.906 kB / 0.6009 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/0.3798, allocations: 167.6 kB / 0.6011 GB, free: 9.883 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.3808, allocations: 0.8867 MB / 0.6019 GB, free: 8.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.3812, allocations: 113 kB / 0.602 GB, free: 8.793 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3813, allocations: 60.77 kB / 0.6021 GB, free: 8.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.3813, allocations: 1.5 kB / 0.6021 GB, free: 8.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.3813, allocations: 38.5 kB / 0.6021 GB, free: 8.684 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.3814, allocations: 0.75 kB / 0.6021 GB, free: 8.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004276/0.3818, allocations: 170.1 kB / 0.6023 GB, free: 8.512 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.3818, allocations: 54.44 kB / 0.6024 GB, free: 8.449 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.382, allocations: 283 kB / 0.6026 GB, free: 8.164 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.3821, allocations: 25.7 kB / 0.6026 GB, free: 8.133 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.3821, allocations: 172.1 kB / 0.6028 GB, free: 7.961 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.3822, allocations: 31.5 kB / 0.6028 GB, free: 7.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.3822, allocations: 25.7 kB / 0.6029 GB, free: 7.898 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.307e-05/0.3823, allocations: 336.3 kB / 0.6032 GB, free: 7.562 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.585e-05/0.3824, allocations: 35.98 kB / 0.6032 GB, free: 7.527 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.346e-05/0.3825, allocations: 37.31 kB / 0.6033 GB, free: 7.492 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.3826, allocations: 86.05 kB / 0.6033 GB, free: 7.406 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3826, allocations: 0 / 0.6033 GB, free: 7.406 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002321/0.3829, allocations: 146.3 kB / 0.6035 GB, free: 7.258 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3829, allocations: 4 kB / 0.6035 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3829, allocations: 4 kB / 0.6035 GB, free: 7.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3829, allocations: 9.703 kB / 0.6035 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.3831, allocations: 19.98 kB / 0.6035 GB, free: 7.223 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3831, allocations: 1.531 kB / 0.6035 GB, free: 7.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.3832, allocations: 27.77 kB / 0.6035 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3832, allocations: 7.938 kB / 0.6035 GB, free: 7.188 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 8.754e-05/0.3833, allocations: 135 kB / 0.6037 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.3834, allocations: 23.72 kB / 0.6037 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.3834, allocations: 31.12 kB / 0.6037 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3834, allocations: 0 / 0.6037 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3834, allocations: 0 / 0.6037 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3834, allocations: 3.938 kB / 0.6037 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.3837, allocations: 294.6 kB / 0.604 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3837, allocations: 4 kB / 0.604 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.3838, allocations: 16.73 kB / 0.604 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3838, allocations: 4 kB / 0.604 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3838, allocations: 1.531 kB / 0.604 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3838, allocations: 0 / 0.604 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3838, allocations: 3.984 kB / 0.604 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.3841, allocations: 236.5 kB / 0.6043 GB, free: 6.379 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.3841, allocations: 102.1 kB / 0.6044 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.3842, allocations: 4 kB / 0.6044 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.3843, allocations: 7.984 kB / 0.6044 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.3844, allocations: 21.36 kB / 0.6044 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.3844, allocations: 4 kB / 0.6044 GB, free: 6.227 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.3845, allocations: 198 kB / 0.6046 GB, free: 6.035 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3845, allocations: 1.312 kB / 0.6046 GB, free: 6.035 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.3848, allocations: 43.91 kB / 0.6046 GB, free: 5.992 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 6.682e-05/0.3849, allocations: 108.3 kB / 0.6047 GB, free: 5.879 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000262/0.3851, allocations: 100.9 kB / 0.6048 GB, free: 5.781 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3852, allocations: 0 / 0.6048 GB, free: 5.781 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.3853, allocations: 49.3 kB / 0.6049 GB, free: 5.734 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.3856, allocations: 46.42 kB / 0.6049 GB, free: 5.688 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.3862, allocations: 434.8 kB / 0.6053 GB, free: 5.234 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.3864, allocations: 0.7505 MB / 0.6061 GB, free: 4.461 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.809e-05/0.3865, allocations: 19.44 kB / 0.6061 GB, free: 4.441 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3865, allocations: 2.281 kB / 0.6061 GB, free: 4.441 MB / 446.1 MB Notification: Performance of Templates: time 0.003914/0.3904, allocations: 2.8 MB / 0.6088 GB, free: 1.703 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1)