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.001313/0.001313, allocations: 111 kB / 16.41 MB, free: 6.027 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.001161/0.00116, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.16 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.9489/0.9489, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 60.09 kB / 0.5961 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1825, allocations: 82.05 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.004338/0.1869, allocations: 2.564 MB / 0.6788 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1883, allocations: 0.6194 MB / 0.6794 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000346/0.1887, allocations: 7.938 kB / 0.6794 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.1889, allocations: 51.45 kB / 0.6794 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.1893, allocations: 75.27 kB / 0.6795 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.1896, allocations: 83.91 kB / 0.6796 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005084/0.1902, allocations: 334.5 kB / 0.6799 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.1905, allocations: 177 kB / 0.6801 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002548/0.1907, allocations: 119.5 kB / 0.6802 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.191, allocations: 131.4 kB / 0.6803 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.846e-05/0.1911, allocations: 31.94 kB / 0.6803 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.768e-05/0.1911, allocations: 32 kB / 0.6804 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.1912, allocations: 55.83 kB / 0.6804 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.1913, allocations: 147.2 kB / 0.6806 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.1918, allocations: 342.8 kB / 0.6809 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1918, allocations: 0 / 0.6809 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1918, allocations: 0 / 0.6809 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.1918, allocations: 0 / 0.6809 GB, free: 5.621 MB / 0.5137 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.0009736/0.1928, allocations: 0.573 MB / 0.6814 GB, free: 5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.1928, allocations: 12.03 kB / 0.6815 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.924e-05/0.1929, allocations: 32.56 kB / 0.6815 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.1934, allocations: 279.6 kB / 0.6818 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.1934, allocations: 20.94 kB / 0.6818 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.1935, allocations: 20.38 kB / 0.6818 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004754/0.194, allocations: 225.2 kB / 0.682 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.194, allocations: 0 / 0.682 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.194, allocations: 12 kB / 0.682 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.194, allocations: 4 kB / 0.682 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.1944, allocations: 166.1 kB / 0.6822 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.1958, allocations: 0.8872 MB / 0.683 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.1962, allocations: 118.7 kB / 0.6832 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.1964, allocations: 52.84 kB / 0.6832 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.1964, allocations: 0 / 0.6832 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.1964, allocations: 38.55 kB / 0.6833 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.1964, allocations: 0 / 0.6833 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004917/0.1969, allocations: 173.8 kB / 0.6834 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.197, allocations: 51.41 kB / 0.6835 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.1973, allocations: 279 kB / 0.6837 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.1973, allocations: 25.8 kB / 0.6838 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.1975, allocations: 172.1 kB / 0.6839 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.1975, allocations: 39.45 kB / 0.684 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.1976, allocations: 21.72 kB / 0.684 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1977, allocations: 338.8 kB / 0.6843 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.1978, allocations: 43.91 kB / 0.6843 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.955e-05/0.1979, allocations: 31.98 kB / 0.6844 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.1982, allocations: 88.92 kB / 0.6845 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1982, allocations: 4 kB / 0.6845 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000293/0.1985, allocations: 141.4 kB / 0.6846 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1985, allocations: 4 kB / 0.6846 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1985, allocations: 3.938 kB / 0.6846 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1985, allocations: 0 / 0.6846 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.1987, allocations: 19.98 kB / 0.6846 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.1987, allocations: 3.938 kB / 0.6846 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.1988, allocations: 27.77 kB / 0.6847 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1989, allocations: 8 kB / 0.6847 GB, free: 1.488 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.199, allocations: 129.8 kB / 0.6848 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.1991, allocations: 23.72 kB / 0.6848 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.694e-05/0.1991, allocations: 29.78 kB / 0.6848 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1991, allocations: 0 / 0.6848 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1992, allocations: 0 / 0.6848 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1992, allocations: 7.922 kB / 0.6848 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.1995, allocations: 293.3 kB / 0.6851 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1995, allocations: 0 / 0.6851 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.1996, allocations: 27.98 kB / 0.6852 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1997, allocations: 0 / 0.6852 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1997, allocations: 0 / 0.6852 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1997, allocations: 4 kB / 0.6852 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.1997, allocations: 7.938 kB / 0.6852 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.2, allocations: 231.2 kB / 0.6854 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.93e-05/0.2001, allocations: 100.8 kB / 0.6855 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.2001, allocations: 4 kB / 0.6855 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.2003, allocations: 15.92 kB / 0.6855 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/0.2004, allocations: 15.92 kB / 0.6855 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.2004, allocations: 96 / 0.6855 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002016/0.2006, allocations: 205.9 kB / 0.6857 GB, free: 328 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2006, allocations: 0 / 0.6857 GB, free: 328 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002684/0.2009, allocations: 43.84 kB / 0.6858 GB, free: 284 kB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.74e-05/0.201, allocations: 103.2 kB / 0.6858 GB, free: 172 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000286/0.2013, allocations: 87.89 kB / 0.6859 GB, free: 84 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2013, allocations: 0 / 0.6859 GB, free: 84 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.2014, allocations: 51.91 kB / 0.686 GB, free: 32 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.2018, allocations: 42 kB / 0.686 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007819/0.2026, allocations: 449.9 kB / 0.6865 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.2029, allocations: 0.7476 MB / 0.6872 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.203, allocations: 19.44 kB / 0.6872 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.203, allocations: 0 / 0.6872 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of Templates: time 0.005551/0.2086, allocations: 2.821 MB / 0.69 GB, free: 11.92 MB / 0.5294 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)