Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",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.0008127/0.0008129, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009368/0.0009368, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9889/0.9889, allocations: 143.4 MB / 434.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 12 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1587, allocations: 83.42 MB / 0.5975 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4653/0.6241, allocations: 176.4 MB / 0.7698 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008141/0.6323, allocations: 4.906 MB / 0.7746 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.6335, allocations: 47.62 kB / 0.7746 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.635, allocations: 0.6141 MB / 0.7752 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004833/0.6399, allocations: 1.894 MB / 0.7771 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.6422, allocations: 0.9061 MB / 0.778 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003387/0.6456, allocations: 3.069 MB / 0.781 GB, free: 268 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.6468, allocations: 0.7699 MB / 0.7817 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.6485, allocations: 1.004 MB / 0.7827 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.6497, allocations: 0.9496 MB / 0.7836 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.6498, allocations: 48 kB / 0.7837 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.6521, allocations: 0.9314 MB / 0.7846 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003808/0.6525, allocations: 406.7 kB / 0.785 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002996/0.6528, allocations: 265 kB / 0.7852 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.6545, allocations: 1.426 MB / 0.7866 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6545, allocations: 0 / 0.7866 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6545, allocations: 4 kB / 0.7866 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.6545, allocations: 0 / 0.7866 GB, free: 10.44 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004467/0.659, allocations: 1.719 MB / 0.7883 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.6591, allocations: 12.02 kB / 0.7883 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002046/0.6593, allocations: 139.6 kB / 0.7884 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004855/0.6641, allocations: 0.9385 MB / 0.7893 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.6655, allocations: 0.8601 MB / 0.7902 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.832e-05/0.6656, allocations: 73.94 kB / 0.7903 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.6658, allocations: 88 kB / 0.7903 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003372/0.6692, allocations: 1.571 MB / 0.7919 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.6692, allocations: 8 kB / 0.7919 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.6693, allocations: 32 kB / 0.7919 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-05/0.6694, allocations: 45.98 kB / 0.792 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004668/0.6741, allocations: 1.842 MB / 0.7938 GB, free: 2.969 MB / 0.6075 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.007069/0.6811, allocations: 4.756 MB / 0.7984 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/0.685, allocations: 1.586 MB / 0.7999 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/0.6869, allocations: 0.8469 MB / 0.8008 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/0.6881, allocations: 0.9569 MB / 0.8017 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00224/0.6904, allocations: 0.9115 MB / 0.8026 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 3.146e-06/0.6904, allocations: 0 / 0.8026 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.006739/0.6972, allocations: 2.439 MB / 0.805 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.6972, allocations: 64.41 kB / 0.805 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.6987, allocations: 1.189 MB / 0.8062 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.081e-05/0.6988, allocations: 45.7 kB / 0.8062 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004454/0.6992, allocations: 0.5409 MB / 0.8068 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.6995, allocations: 323.3 kB / 0.8071 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.031e-05/0.6996, allocations: 20 kB / 0.8071 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6997, allocations: 349.9 kB / 0.8074 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001887/0.7016, allocations: 0.7005 MB / 0.8081 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/0.7036, allocations: 0.8958 MB / 0.809 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/0.7055, allocations: 0.7251 MB / 0.8097 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.7056, allocations: 4 kB / 0.8097 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004434/0.71, allocations: 1.768 MB / 0.8114 GB, free: 324 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.71, allocations: 11.95 kB / 0.8114 GB, free: 312 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.7101, allocations: 4 kB / 0.8114 GB, free: 308 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.7101, allocations: 11.94 kB / 0.8115 GB, free: 296 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.7117, allocations: 343.8 kB / 0.8118 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/0.7117, allocations: 12.5 kB / 0.8118 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.7132, allocations: 254.7 kB / 0.812 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.7133, allocations: 47.97 kB / 0.8121 GB, free: 15.64 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005343/0.7139, allocations: 332.3 kB / 0.8124 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.7141, allocations: 134.3 kB / 0.8125 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004484/0.7186, allocations: 1.796 MB / 0.8143 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.7186, allocations: 8 kB / 0.8143 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.7186, allocations: 4.438 kB / 0.8143 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.7186, allocations: 3.984 kB / 0.8143 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006568/0.7252, allocations: 3.315 MB / 0.8175 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.7252, allocations: 8.094 kB / 0.8175 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/0.7268, allocations: 284.5 kB / 0.8178 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/0.7268, allocations: 15.83 kB / 0.8178 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.557e-05/0.7269, allocations: 35.97 kB / 0.8179 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.7269, allocations: 11.94 kB / 0.8179 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.7269, allocations: 4 kB / 0.8179 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006636/0.7336, allocations: 2.828 MB / 0.8206 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007217/0.7343, allocations: 331.2 kB / 0.821 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.7345, allocations: 24 kB / 0.821 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.7358, allocations: 179.7 kB / 0.8212 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.736, allocations: 68.45 kB / 0.8212 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.31e-05/0.7361, allocations: 43.97 kB / 0.8213 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001024/0.7371, allocations: 0.8197 MB / 0.8221 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7371, allocations: 4 kB / 0.8221 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00116/0.7383, allocations: 339.6 kB / 0.8224 GB, free: 4.883 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008276/0.7466, allocations: 3.815 MB / 0.8261 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004355/0.751, allocations: 1.615 MB / 0.8277 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.751, allocations: 0 / 0.8277 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002158/0.7532, allocations: 0.8322 MB / 0.8285 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/0.756, allocations: 0.5938 MB / 0.8291 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/0.7744, allocations: 9.516 MB / 0.8384 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008457/0.7753, allocations: 1.183 MB / 0.8395 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001766/0.7771, allocations: 369 kB / 0.8399 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008388/0.7779, allocations: 0.4993 MB / 0.8404 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of SimCode: time 9.22e-07/0.7779, allocations: 0 / 0.8404 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.343/1.121, allocations: 33.8 MB / 0.8734 GB, free: 206.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/1.121, allocations: 237.6 kB / 0.8736 GB, free: 206.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.683, allocations: 0 / 0.8736 GB, free: 206.1 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) Environment - environmentSimulation: