Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001063, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007698/0.007698, allocations: 170.5 kB / 16.27 MB, free: 6.656 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.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.9632/0.9632, allocations: 143.2 MB / 434.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005283/0.0005283, allocations: 12 kB / 0.5165 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1602, allocations: 83.42 MB / 0.598 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3195/0.4798, allocations: 28.43 MB / 0.6257 GB, free: 27.47 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007852/0.4877, allocations: 6.826 MB / 0.6324 GB, free: 23.2 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009903/0.4887, allocations: 44.28 kB / 0.6324 GB, free: 23.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.4899, allocations: 0.601 MB / 0.633 GB, free: 22.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.4925, allocations: 1.339 MB / 0.6343 GB, free: 22.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.4947, allocations: 1.043 MB / 0.6354 GB, free: 21.65 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002566/0.4972, allocations: 3.23 MB / 0.6385 GB, free: 20.46 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007605/0.498, allocations: 0.6967 MB / 0.6392 GB, free: 20.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.4992, allocations: 0.9205 MB / 0.6401 GB, free: 19.81 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007043/0.4999, allocations: 0.8154 MB / 0.6409 GB, free: 19.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.111e-05/0.5, allocations: 40.91 kB / 0.6409 GB, free: 19.49 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.5014, allocations: 0.7599 MB / 0.6417 GB, free: 19.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.5016, allocations: 254.3 kB / 0.6419 GB, free: 19.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003987/0.502, allocations: 0.5416 MB / 0.6424 GB, free: 18.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.5035, allocations: 1.582 MB / 0.644 GB, free: 18.22 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5035, allocations: 0 / 0.644 GB, free: 18.22 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5035, allocations: 0 / 0.644 GB, free: 18.22 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.5035, allocations: 0 / 0.644 GB, free: 18.22 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.001899/0.5054, allocations: 1.372 MB / 0.6453 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.5055, allocations: 10.28 kB / 0.6453 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.824e-05/0.5056, allocations: 118.1 kB / 0.6454 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/0.5088, allocations: 0.6287 MB / 0.6461 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009197/0.5097, allocations: 0.8108 MB / 0.6468 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.5098, allocations: 55.09 kB / 0.6469 GB, free: 16.55 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.5099, allocations: 78.28 kB / 0.647 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.5119, allocations: 1.11 MB / 0.6481 GB, free: 16.01 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.512, allocations: 3.938 kB / 0.6481 GB, free: 16.01 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/0.512, allocations: 34.31 kB / 0.6481 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.5121, allocations: 21.47 kB / 0.6481 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002798/0.5149, allocations: 1.019 MB / 0.6491 GB, free: 15.72 MB / 0.4981 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.004472/0.5193, allocations: 4.987 MB / 0.654 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002837/0.5222, allocations: 0.9542 MB / 0.6549 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.5236, allocations: 495.7 kB / 0.6554 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.5246, allocations: 1.608 MB / 0.657 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001588/0.5262, allocations: 0.5851 MB / 0.6575 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.675e-06/0.5263, allocations: 0 / 0.6575 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.004987/0.5313, allocations: 1.523 MB / 0.659 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.5313, allocations: 58.44 kB / 0.6591 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.5329, allocations: 1.113 MB / 0.6602 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.878e-05/0.533, allocations: 44.12 kB / 0.6602 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/0.5334, allocations: 0.5426 MB / 0.6607 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.5336, allocations: 212.1 kB / 0.6609 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.5337, allocations: 66.8 kB / 0.661 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.132e-05/0.5338, allocations: 339.5 kB / 0.6613 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.5353, allocations: 464 kB / 0.6618 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.5369, allocations: 0.7207 MB / 0.6625 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002841/0.5397, allocations: 1.145 MB / 0.6636 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.5397, allocations: 2.094 kB / 0.6636 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003551/0.5433, allocations: 1.295 MB / 0.6649 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.5433, allocations: 8.781 kB / 0.6649 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.5433, allocations: 12.28 kB / 0.6649 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.5434, allocations: 11.28 kB / 0.6649 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.5446, allocations: 277.9 kB / 0.6651 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.5446, allocations: 14.39 kB / 0.6652 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.5459, allocations: 202.7 kB / 0.6654 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.882e-05/0.546, allocations: 53.28 kB / 0.6654 GB, free: 5.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * 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.0004329/0.5464, allocations: 290.8 kB / 0.6657 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.5466, allocations: 127.7 kB / 0.6658 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003762/0.5504, allocations: 1.384 MB / 0.6672 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/0.5504, allocations: 8.297 kB / 0.6672 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.5504, allocations: 1.766 kB / 0.6672 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.5504, allocations: 6.812 kB / 0.6672 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004944/0.5554, allocations: 2.393 MB / 0.6695 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.5554, allocations: 1.469 kB / 0.6695 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.5564, allocations: 198 kB / 0.6697 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.5565, allocations: 4.375 kB / 0.6697 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.028e-05/0.5565, allocations: 28.94 kB / 0.6697 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.5565, allocations: 4.938 kB / 0.6697 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5565, allocations: 1.562 kB / 0.6697 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00494/0.5615, allocations: 2.013 MB / 0.6717 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005065/0.562, allocations: 287.4 kB / 0.672 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.5622, allocations: 20.02 kB / 0.672 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00097/0.5631, allocations: 130.5 kB / 0.6721 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.5632, allocations: 49.03 kB / 0.6722 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.186e-05/0.5633, allocations: 38.86 kB / 0.6722 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009221/0.5643, allocations: 0.7617 MB / 0.6729 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5643, allocations: 0 / 0.6729 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001098/0.5654, allocations: 345.5 kB / 0.6733 GB, free: 2.816 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * 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.006565/0.5719, allocations: 3.114 MB / 0.6763 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00343/0.5754, allocations: 1.135 MB / 0.6774 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5754, allocations: 0 / 0.6774 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001661/0.5771, allocations: 0.5875 MB / 0.678 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/0.5796, allocations: 432.5 kB / 0.6784 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0216/0.6012, allocations: 10.68 MB / 0.6888 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009787/0.6023, allocations: 1.108 MB / 0.6899 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001351/0.6036, allocations: 249.4 kB / 0.6902 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000663/0.6043, allocations: 463.4 kB / 0.6906 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of SimCode: time 1.132e-06/0.6043, allocations: 0 / 0.6906 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04912/0.6534, allocations: 29.19 MB / 0.7191 GB, free: 15.02 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/0.6537, allocations: 271.4 kB / 0.7194 GB, free: 14.65 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.188, allocations: 4 kB / 0.7194 GB, free: 14.65 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)