Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.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.IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001129, allocations: 105.2 kB / 16.36 MB, free: 5.824 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.001205/0.001205, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.423/1.423, 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.8473/0.8473, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 59.91 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3634, allocations: 82.02 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.004999/0.3685, allocations: 4.724 MB / 0.6003 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.3705, allocations: 2.703 MB / 0.6029 GB, free: 8.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.3706, allocations: 5.5 kB / 0.6029 GB, free: 8.676 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.3709, allocations: 43.67 kB / 0.603 GB, free: 8.633 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.3712, allocations: 93.62 kB / 0.6031 GB, free: 8.543 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.3723, allocations: 0.5043 MB / 0.6035 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.3725, allocations: 239.8 kB / 0.6038 GB, free: 7.812 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.3725, allocations: 6.719 kB / 0.6038 GB, free: 7.809 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.3727, allocations: 117 kB / 0.6039 GB, free: 7.695 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.3728, allocations: 91.59 kB / 0.604 GB, free: 7.605 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.3729, allocations: 8 kB / 0.604 GB, free: 7.598 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006118/0.3735, allocations: 372.8 kB / 0.6043 GB, free: 7.234 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.3736, allocations: 31.89 kB / 0.6044 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.836e-05/0.3736, allocations: 79.66 kB / 0.6045 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000511/0.3741, allocations: 364.8 kB / 0.6048 GB, free: 6.773 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3742, allocations: 1.344 kB / 0.6048 GB, free: 6.773 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3742, allocations: 3.938 kB / 0.6048 GB, free: 6.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3742, allocations: 0 / 0.6048 GB, free: 6.77 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005796/0.3748, allocations: 0.5044 MB / 0.6053 GB, free: 6.215 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.3748, allocations: 8.031 kB / 0.6053 GB, free: 6.207 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.375, allocations: 26.08 kB / 0.6053 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.3752, allocations: 220 kB / 0.6055 GB, free: 5.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3752, allocations: 8.703 kB / 0.6055 GB, free: 5.922 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.3752, allocations: 17.16 kB / 0.6056 GB, free: 5.906 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.3755, allocations: 245.5 kB / 0.6058 GB, free: 5.648 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3755, allocations: 5.188 kB / 0.6058 GB, free: 5.645 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.3756, allocations: 8 kB / 0.6058 GB, free: 5.637 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.3756, allocations: 4 kB / 0.6058 GB, free: 5.633 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003505/0.3759, allocations: 436.8 kB / 0.6062 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008375/0.3768, allocations: 0.9438 MB / 0.6072 GB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.377, allocations: 163.6 kB / 0.6073 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.091e-05/0.3771, allocations: 62.06 kB / 0.6074 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008487/0.378, allocations: 1.834 MB / 0.6092 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.378, allocations: 31.91 kB / 0.6092 GB, free: 1.715 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.378, allocations: 0 / 0.6092 GB, free: 1.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002864/0.3783, allocations: 152.3 kB / 0.6093 GB, free: 1.562 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.3783, allocations: 63.27 kB / 0.6094 GB, free: 1.488 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.976e-05/0.3784, allocations: 169.4 kB / 0.6096 GB, free: 1.312 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.3785, allocations: 27.2 kB / 0.6096 GB, free: 1.281 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.3785, allocations: 147.8 kB / 0.6097 GB, free: 1.133 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.3785, allocations: 51.27 kB / 0.6098 GB, free: 1.082 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.3786, allocations: 54.95 kB / 0.6098 GB, free: 1.023 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.095e-05/0.3787, allocations: 322.8 kB / 0.6101 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.3787, allocations: 35.97 kB / 0.6102 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.653e-05/0.3788, allocations: 147.5 kB / 0.6103 GB, free: 488 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.379, allocations: 194.1 kB / 0.6105 GB, free: 252 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.379, allocations: 9.406 kB / 0.6105 GB, free: 244 kB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002667/0.3793, allocations: 214.2 kB / 0.6107 GB, free: 28 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3793, allocations: 9.125 kB / 0.6107 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3793, allocations: 4 kB / 0.6107 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3793, allocations: 6.688 kB / 0.6107 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.3795, allocations: 55.97 kB / 0.6108 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.3795, allocations: 15.75 kB / 0.6108 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.3797, allocations: 23.75 kB / 0.6108 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.3797, allocations: 16 kB / 0.6108 GB, free: 15.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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 9.915e-05/0.3798, allocations: 133.7 kB / 0.611 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.3799, allocations: 18 kB / 0.611 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.3802, allocations: 151 kB / 0.6111 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.3802, allocations: 7.938 kB / 0.6111 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3802, allocations: 3.984 kB / 0.6111 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3802, allocations: 0 / 0.6111 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.3804, allocations: 210.5 kB / 0.6113 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3805, allocations: 0 / 0.6113 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.3806, allocations: 32.7 kB / 0.6114 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3806, allocations: 0 / 0.6114 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3806, allocations: 4 kB / 0.6114 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3806, allocations: 4.875 kB / 0.6114 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3806, allocations: 3.984 kB / 0.6114 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.3808, allocations: 224.9 kB / 0.6116 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.802e-05/0.3809, allocations: 104.9 kB / 0.6117 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.381, allocations: 12.62 kB / 0.6117 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.3812, allocations: 12.5 kB / 0.6117 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/0.3812, allocations: 16.86 kB / 0.6117 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.3813, allocations: 15.98 kB / 0.6117 GB, free: 14.87 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.193e-05/0.3813, allocations: 121.4 kB / 0.6119 GB, free: 14.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3814, allocations: 0.5312 kB / 0.6119 GB, free: 14.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003968/0.3818, allocations: 83.89 kB / 0.6119 GB, free: 14.67 MB / 462.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 0.0002898/0.3821, allocations: 178.5 kB / 0.6121 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002501/0.3823, allocations: 125.6 kB / 0.6122 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3823, allocations: 0 / 0.6122 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.548e-05/0.3824, allocations: 49.36 kB / 0.6123 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.3828, allocations: 51.55 kB / 0.6123 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00068/0.3835, allocations: 341.8 kB / 0.6127 GB, free: 13.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.3838, allocations: 0.7112 MB / 0.6133 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.384, allocations: 53.48 kB / 0.6134 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.384, allocations: 27.44 kB / 0.6134 GB, free: 13.11 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.384, allocations: 0 / 0.6134 GB, free: 13.11 MB / 462.1 MB Notification: Performance of Templates: time 0.006992/0.391, allocations: 3.508 MB / 0.6169 GB, free: 9.656 MB / 462.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1)