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.001772/0.001772, allocations: 115 kB / 16.37 MB, free: 6.016 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.00186/0.00186, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15 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.8318/0.8318, allocations: 143 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 63.89 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4083, allocations: 82.02 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.00455/0.4129, allocations: 4.725 MB / 0.6003 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.4147, allocations: 2.704 MB / 0.6029 GB, free: 8.695 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.4147, allocations: 0 / 0.6029 GB, free: 8.695 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.415, allocations: 47.67 kB / 0.603 GB, free: 8.648 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.4151, allocations: 98.05 kB / 0.6031 GB, free: 8.555 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008408/0.416, allocations: 0.4914 MB / 0.6036 GB, free: 8.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.4162, allocations: 235.9 kB / 0.6038 GB, free: 7.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.4162, allocations: 14.97 kB / 0.6038 GB, free: 7.828 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.4164, allocations: 116.9 kB / 0.6039 GB, free: 7.715 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.4165, allocations: 87.66 kB / 0.604 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.4165, allocations: 8 kB / 0.604 GB, free: 7.621 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000474/0.417, allocations: 368.6 kB / 0.6043 GB, free: 7.262 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.417, allocations: 43.83 kB / 0.6044 GB, free: 7.219 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.248e-05/0.4171, allocations: 75.66 kB / 0.6045 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.4175, allocations: 364.8 kB / 0.6048 GB, free: 6.793 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4175, allocations: 1.281 kB / 0.6048 GB, free: 6.793 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4175, allocations: 4 kB / 0.6048 GB, free: 6.789 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.4175, allocations: 0 / 0.6048 GB, free: 6.789 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.0005355/0.4181, allocations: 0.5043 MB / 0.6053 GB, free: 6.234 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.4181, allocations: 12.03 kB / 0.6053 GB, free: 6.223 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.4183, allocations: 21.72 kB / 0.6053 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.4184, allocations: 216 kB / 0.6055 GB, free: 5.953 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.4185, allocations: 14.08 kB / 0.6056 GB, free: 5.941 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.4185, allocations: 12.38 kB / 0.6056 GB, free: 5.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.4188, allocations: 253.4 kB / 0.6058 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.4188, allocations: 1.438 kB / 0.6058 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.4188, allocations: 8 kB / 0.6058 GB, free: 5.656 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.4188, allocations: 7.984 kB / 0.6058 GB, free: 5.648 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003432/0.4192, allocations: 428.8 kB / 0.6062 GB, free: 5.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007582/0.4199, allocations: 0.9517 MB / 0.6072 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.4202, allocations: 163.6 kB / 0.6073 GB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.704e-05/0.4203, allocations: 66.02 kB / 0.6074 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007942/0.4211, allocations: 1.83 MB / 0.6092 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.4211, allocations: 35.59 kB / 0.6092 GB, free: 1.727 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.4211, allocations: 0 / 0.6092 GB, free: 1.727 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002607/0.4214, allocations: 151.9 kB / 0.6093 GB, free: 1.574 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.4214, allocations: 55.34 kB / 0.6094 GB, free: 1.508 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/0.4215, allocations: 170 kB / 0.6096 GB, free: 1.332 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.4215, allocations: 26.92 kB / 0.6096 GB, free: 1.301 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.4216, allocations: 147.8 kB / 0.6097 GB, free: 1.152 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.4216, allocations: 52.02 kB / 0.6098 GB, free: 1.102 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.4216, allocations: 53.61 kB / 0.6098 GB, free: 1.043 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.786e-05/0.4217, allocations: 320.7 kB / 0.6101 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.502e-05/0.4217, allocations: 39.97 kB / 0.6102 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.364e-05/0.4218, allocations: 150.5 kB / 0.6103 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.422, allocations: 196.7 kB / 0.6105 GB, free: 268 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.422, allocations: 6.656 kB / 0.6105 GB, free: 264 kB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002425/0.4222, allocations: 206.5 kB / 0.6107 GB, free: 52 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.4223, allocations: 10.03 kB / 0.6107 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4223, allocations: 4 kB / 0.6107 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4223, allocations: 5.656 kB / 0.6107 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.4225, allocations: 67.78 kB / 0.6108 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.4225, allocations: 8 kB / 0.6108 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.4226, allocations: 23.69 kB / 0.6108 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.4226, allocations: 12.62 kB / 0.6108 GB, free: 15.93 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 0.0001319/0.4228, allocations: 139.3 kB / 0.611 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.4228, allocations: 15.81 kB / 0.611 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.4231, allocations: 159.6 kB / 0.6111 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.4231, allocations: 7.938 kB / 0.6111 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4231, allocations: 0.5625 kB / 0.6111 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4231, allocations: 0.9375 kB / 0.6111 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.4233, allocations: 217.5 kB / 0.6114 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4234, allocations: 0 / 0.6114 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.541e-05/0.4234, allocations: 20.5 kB / 0.6114 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4235, allocations: 5.266 kB / 0.6114 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.4235, allocations: 8 kB / 0.6114 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.4235, allocations: 3.938 kB / 0.6114 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4235, allocations: 0 / 0.6114 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.4237, allocations: 220.8 kB / 0.6116 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.773e-05/0.4238, allocations: 117.5 kB / 0.6117 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.4239, allocations: 3.984 kB / 0.6117 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.4241, allocations: 20.67 kB / 0.6117 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.4241, allocations: 9.016 kB / 0.6117 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.4241, allocations: 12 kB / 0.6118 GB, free: 14.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.34e-05/0.4242, allocations: 121.6 kB / 0.6119 GB, free: 14.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4242, allocations: 0 / 0.6119 GB, free: 14.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.4246, allocations: 84.61 kB / 0.612 GB, free: 14.69 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.0003376/0.4249, allocations: 182.5 kB / 0.6121 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.4251, allocations: 121.1 kB / 0.6122 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4251, allocations: 1.25 kB / 0.6122 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.496e-05/0.4252, allocations: 43.92 kB / 0.6123 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.4256, allocations: 59.84 kB / 0.6123 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.4262, allocations: 342.5 kB / 0.6127 GB, free: 13.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.4265, allocations: 0.7143 MB / 0.6134 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.4266, allocations: 46.89 kB / 0.6134 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.4267, allocations: 27.44 kB / 0.6134 GB, free: 13.13 MB / 462.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4267, allocations: 3.938 kB / 0.6134 GB, free: 13.13 MB / 462.1 MB Notification: Performance of Templates: time 0.006309/0.433, allocations: 3.513 MB / 0.6169 GB, free: 9.664 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 gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1)