Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.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.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 110.4 kB / 16.42 MB, free: 6.457 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.001614/0.001614, allocations: 190.7 kB / 17.35 MB, free: 5.719 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.07 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.8547/0.8547, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.44 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1298, allocations: 82.04 MB / 0.6763 GB, free: 10.31 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.04971/0.1795, allocations: 53.78 MB / 0.7289 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02313/0.2027, allocations: 17.07 MB / 0.7455 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002142/0.2049, allocations: 91.5 kB / 0.7456 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004716/0.2096, allocations: 1.941 MB / 0.7475 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3102/0.5198, allocations: 2.62 MB / 0.7501 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005428/0.5252, allocations: 2.357 MB / 0.7524 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01135/0.5366, allocations: 7.578 MB / 0.7598 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002595/0.5392, allocations: 1.678 MB / 0.7614 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004692/0.5439, allocations: 1.976 MB / 0.7633 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002308/0.5462, allocations: 1.447 MB / 0.7648 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003304/0.5466, allocations: 180.2 kB / 0.7649 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004/0.5506, allocations: 2.017 MB / 0.7669 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006899/0.5513, allocations: 0.6669 MB / 0.7675 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.5526, allocations: 1.237 MB / 0.7688 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005018/0.5576, allocations: 4.103 MB / 0.7728 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5577, allocations: 3.938 kB / 0.7728 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5577, allocations: 3.281 kB / 0.7728 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.258e-05/0.5577, allocations: 0 / 0.7728 GB, free: 4.137 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004758/0.5625, allocations: 2.971 MB / 0.7757 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.5625, allocations: 8.25 kB / 0.7757 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/0.5653, allocations: 0.5595 MB / 0.7762 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004743/0.57, allocations: 2.745 MB / 0.7789 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.156e-05/0.5701, allocations: 97.33 kB / 0.779 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.5703, allocations: 126.7 kB / 0.7791 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.5728, allocations: 1.356 MB / 0.7804 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.5728, allocations: 5.781 kB / 0.7804 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.5729, allocations: 47.53 kB / 0.7805 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.573, allocations: 44.02 kB / 0.7805 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/0.5755, allocations: 1.103 MB / 0.7816 GB, free: 1.543 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008968/0.5845, allocations: 7.487 MB / 0.7889 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/0.5868, allocations: 1.347 MB / 0.7902 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009247/0.5877, allocations: 415.6 kB / 0.7906 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005225/0.593, allocations: 3.174 MB / 0.7937 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.5941, allocations: 432.1 kB / 0.7941 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.866e-06/0.5941, allocations: 3.938 kB / 0.7942 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.003171/0.5972, allocations: 1.247 MB / 0.7954 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.5973, allocations: 60.06 kB / 0.7954 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002838/0.6001, allocations: 2.153 MB / 0.7975 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.083e-05/0.6002, allocations: 38.83 kB / 0.7976 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008588/0.6011, allocations: 1.024 MB / 0.7986 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.6013, allocations: 215.6 kB / 0.7988 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004301/0.6017, allocations: 315.9 kB / 0.7991 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.6019, allocations: 301.1 kB / 0.7994 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.603, allocations: 0.5506 MB / 0.7999 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.6045, allocations: 0.9914 MB / 0.8009 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.6069, allocations: 1.452 MB / 0.8023 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.607, allocations: 2.469 kB / 0.8023 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003432/0.6104, allocations: 1.777 MB / 0.804 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.985e-05/0.6105, allocations: 37.02 kB / 0.8041 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.6105, allocations: 11.59 kB / 0.8041 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.6105, allocations: 19.38 kB / 0.8041 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.6117, allocations: 311.1 kB / 0.8044 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/0.6117, allocations: 31.36 kB / 0.8044 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.6132, allocations: 185.1 kB / 0.8046 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.6133, allocations: 63.34 kB / 0.8046 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00187/0.6152, allocations: 0.9715 MB / 0.8056 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001437/0.6167, allocations: 1.002 MB / 0.8066 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002378/0.619, allocations: 1.439 MB / 0.808 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.011e-06/0.6191, allocations: 3.469 kB / 0.808 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.00333/0.6224, allocations: 1.774 MB / 0.8097 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/0.6225, allocations: 45.64 kB / 0.8098 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.6225, allocations: 8 kB / 0.8098 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.6225, allocations: 20 kB / 0.8098 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.6237, allocations: 307 kB / 0.8101 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/0.6237, allocations: 29.7 kB / 0.8101 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.6251, allocations: 155 kB / 0.8103 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.6252, allocations: 66.48 kB / 0.8103 GB, free: 15.29 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0003076/0.6256, allocations: 262.5 kB / 0.8106 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/0.6258, allocations: 201.4 kB / 0.8108 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.6287, allocations: 1.122 MB / 0.8119 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002045/0.6308, allocations: 0.9574 MB / 0.8128 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.6308, allocations: 0 / 0.8128 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006266/0.6314, allocations: 390.2 kB / 0.8132 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002499/0.6317, allocations: 15.94 kB / 0.8132 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009248/0.6326, allocations: 71.86 kB / 0.8133 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.6327, allocations: 52.48 kB / 0.8133 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002779/0.6355, allocations: 1.037 MB / 0.8143 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00328/0.6388, allocations: 1.62 MB / 0.8159 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009399/0.6398, allocations: 420.2 kB / 0.8163 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002044/0.6418, allocations: 1.436 MB / 0.8177 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of Backend: time 5.01e-07/0.6418, allocations: 0 / 0.8177 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006358/0.6482, allocations: 2.779 MB / 0.8204 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of SimCode: time 0.007404/0.6556, allocations: 4.626 MB / 0.8249 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of Templates: time 0.06762/0.7232, allocations: 44.24 MB / 0.8681 GB, free: 4.98 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)