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.0009622/0.000962, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00104/0.001041, allocations: 177.3 kB / 15.94 MB, free: 228 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.358/1.358, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.033/1.033, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003014, allocations: 19.92 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1624, allocations: 83.4 MB / 0.5973 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4629/0.6254, allocations: 160.8 MB / 0.7544 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009358/0.6348, allocations: 5.062 MB / 0.7593 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.6362, allocations: 39.69 kB / 0.7594 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.6385, allocations: 0.7704 MB / 0.7601 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00589/0.6444, allocations: 1.792 MB / 0.7619 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.648, allocations: 1.171 MB / 0.763 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003516/0.6515, allocations: 1.681 MB / 0.7647 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.6533, allocations: 0.8247 MB / 0.7655 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.6557, allocations: 0.9657 MB / 0.7664 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.6567, allocations: 0.7083 MB / 0.7671 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.6569, allocations: 51.94 kB / 0.7672 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.6594, allocations: 0.9399 MB / 0.7681 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004242/0.6599, allocations: 378.8 kB / 0.7684 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003547/0.6602, allocations: 269 kB / 0.7687 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.6621, allocations: 1.378 MB / 0.77 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.6621, allocations: 0 / 0.77 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6621, allocations: 0 / 0.77 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.011e-05/0.6622, allocations: 0 / 0.77 GB, free: 11.22 MB / 0.5919 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.004696/0.6669, allocations: 1.703 MB / 0.7717 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.6669, allocations: 8.031 kB / 0.7717 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002028/0.6671, allocations: 144 kB / 0.7718 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005474/0.6726, allocations: 0.9307 MB / 0.7727 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/0.6746, allocations: 0.8562 MB / 0.7736 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.702e-05/0.6747, allocations: 66 kB / 0.7736 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.6749, allocations: 96.66 kB / 0.7737 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003693/0.6786, allocations: 1.567 MB / 0.7753 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.6786, allocations: 3.938 kB / 0.7753 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.6788, allocations: 35.98 kB / 0.7753 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.829e-05/0.6788, allocations: 49.98 kB / 0.7754 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00503/0.6839, allocations: 1.842 MB / 0.7772 GB, free: 3.777 MB / 0.5919 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.007339/0.6912, allocations: 4.272 MB / 0.7813 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004459/0.6957, allocations: 1.594 MB / 0.7829 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000475/0.6962, allocations: 185.9 kB / 0.7831 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002396/0.6986, allocations: 0.8994 MB / 0.7839 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=95): time 3.427e-06/0.6986, allocations: 0 / 0.7839 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95): time 0.007572/0.7062, allocations: 2.429 MB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.7063, allocations: 60.41 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.7078, allocations: 1.189 MB / 0.7875 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.7079, allocations: 41.7 kB / 0.7876 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004693/0.7084, allocations: 0.5449 MB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/0.7087, allocations: 327.3 kB / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.996e-05/0.7088, allocations: 20 kB / 0.7884 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.7089, allocations: 349.9 kB / 0.7888 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/0.7111, allocations: 0.6888 MB / 0.7894 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.7133, allocations: 0.888 MB / 0.7903 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/0.7155, allocations: 0.7211 MB / 0.791 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.7155, allocations: 8 kB / 0.791 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004932/0.7204, allocations: 1.749 MB / 0.7927 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.7205, allocations: 8.625 kB / 0.7927 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.7205, allocations: 5.172 kB / 0.7927 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.7205, allocations: 8 kB / 0.7927 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.7223, allocations: 350 kB / 0.7931 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.7223, allocations: 11.94 kB / 0.7931 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.7241, allocations: 258.3 kB / 0.7933 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.7242, allocations: 47.97 kB / 0.7934 GB, free: 2.781 MB / 0.6075 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.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.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.000665/0.7249, allocations: 345.5 kB / 0.7937 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/0.7251, allocations: 130.4 kB / 0.7938 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005017/0.7301, allocations: 1.784 MB / 0.7956 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.7302, allocations: 8 kB / 0.7956 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.7302, allocations: 0 / 0.7956 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.7302, allocations: 3.984 kB / 0.7956 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007431/0.7376, allocations: 3.303 MB / 0.7988 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.7377, allocations: 4.5 kB / 0.7988 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/0.7393, allocations: 295.8 kB / 0.7991 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.7393, allocations: 8 kB / 0.7991 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.151e-05/0.7394, allocations: 31.97 kB / 0.7991 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/0.7394, allocations: 12.75 kB / 0.7992 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.7394, allocations: 4.625 kB / 0.7992 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007195/0.7466, allocations: 3.024 MB / 0.8021 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006895/0.7473, allocations: 331.1 kB / 0.8024 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.7475, allocations: 24 kB / 0.8025 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.749, allocations: 171.6 kB / 0.8026 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.7491, allocations: 76.55 kB / 0.8027 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.385e-05/0.7492, allocations: 47.91 kB / 0.8027 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00104/0.7503, allocations: 0.8197 MB / 0.8035 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7503, allocations: 0 / 0.8035 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001017/0.7513, allocations: 339.6 kB / 0.8039 GB, free: 7.777 MB / 0.6231 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.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.008855/0.7602, allocations: 5.08 MB / 0.8088 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004938/0.7651, allocations: 1.599 MB / 0.8104 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.7651, allocations: 8.25 kB / 0.8104 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002364/0.7675, allocations: 0.8202 MB / 0.8112 GB, free: 340 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/0.7705, allocations: 0.5662 MB / 0.8117 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/0.7905, allocations: 12.11 MB / 0.8236 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009038/0.7915, allocations: 1.212 MB / 0.8248 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001762/0.7933, allocations: 363.7 kB / 0.8251 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000832/0.7941, allocations: 0.4953 MB / 0.8256 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of SimCode: time 1.333e-06/0.7941, allocations: 0 / 0.8256 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3582/1.152, allocations: 33.74 MB / 0.8585 GB, free: 208 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/1.153, allocations: 237 kB / 0.8588 GB, free: 207.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/3.737, allocations: 1.438 kB / 0.8588 GB, free: 207.8 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: