Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.0008271/0.000827, allocations: 91.77 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.0009443/0.0009443, 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.333/1.333, allocations: 223.2 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.003/1.003, allocations: 143.4 MB / 434.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.000306, allocations: 8 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1494, allocations: 83.42 MB / 0.5975 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4838/0.6333, allocations: 176.4 MB / 0.7698 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007638/0.6409, allocations: 4.895 MB / 0.7746 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.6421, allocations: 43.62 kB / 0.7746 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.6436, allocations: 0.618 MB / 0.7752 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00499/0.6486, allocations: 1.89 MB / 0.7771 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.6515, allocations: 0.904 MB / 0.778 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003523/0.655, allocations: 3.015 MB / 0.7809 GB, free: 376 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.6562, allocations: 0.7307 MB / 0.7816 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.6578, allocations: 0.9804 MB / 0.7826 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.6589, allocations: 0.9223 MB / 0.7835 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.659, allocations: 44 kB / 0.7835 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/0.6613, allocations: 0.9314 MB / 0.7844 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003689/0.6617, allocations: 390.8 kB / 0.7848 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003229/0.662, allocations: 273.6 kB / 0.7851 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.6636, allocations: 1.387 MB / 0.7864 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6636, allocations: 4 kB / 0.7864 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6636, allocations: 0 / 0.7864 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.6636, allocations: 0 / 0.7864 GB, free: 10.69 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004087/0.6677, allocations: 1.683 MB / 0.7881 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.6678, allocations: 12.03 kB / 0.7881 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/0.6679, allocations: 139.5 kB / 0.7882 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003364/0.6713, allocations: 0.7044 MB / 0.7889 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.6726, allocations: 0.8406 MB / 0.7897 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.771e-05/0.6727, allocations: 69.98 kB / 0.7898 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.6729, allocations: 84.47 kB / 0.7899 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/0.6756, allocations: 1.482 MB / 0.7913 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.6756, allocations: 3.938 kB / 0.7913 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.953e-05/0.6757, allocations: 35.98 kB / 0.7913 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.252e-05/0.6758, allocations: 53.98 kB / 0.7914 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003482/0.6793, allocations: 1.534 MB / 0.7929 GB, free: 3.859 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.00632/0.6856, allocations: 5.5 MB / 0.7983 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003171/0.6888, allocations: 1.316 MB / 0.7995 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.6903, allocations: 0.6585 MB / 0.8002 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008024/0.6911, allocations: 0.5974 MB / 0.8008 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001604/0.6927, allocations: 0.7263 MB / 0.8015 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 2.815e-06/0.6927, allocations: 0 / 0.8015 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.004856/0.6976, allocations: 1.905 MB / 0.8033 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.6976, allocations: 60.06 kB / 0.8034 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.699, allocations: 1.227 MB / 0.8046 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.857e-05/0.6991, allocations: 45.7 kB / 0.8046 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/0.6995, allocations: 0.5752 MB / 0.8052 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.6997, allocations: 276.1 kB / 0.8055 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.6998, allocations: 16 kB / 0.8055 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6999, allocations: 357.8 kB / 0.8058 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.7013, allocations: 0.5367 MB / 0.8063 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.7028, allocations: 0.8375 MB / 0.8072 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.7043, allocations: 0.5887 MB / 0.8077 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.7043, allocations: 0 / 0.8077 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003387/0.7077, allocations: 1.511 MB / 0.8092 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.7077, allocations: 15.94 kB / 0.8092 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.7078, allocations: 8 kB / 0.8092 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.7078, allocations: 12 kB / 0.8093 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.7091, allocations: 304.1 kB / 0.8095 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/0.7091, allocations: 15.94 kB / 0.8096 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.7104, allocations: 230.7 kB / 0.8098 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.744e-05/0.7105, allocations: 52.52 kB / 0.8098 GB, free: 1.941 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0005312/0.7111, allocations: 333.3 kB / 0.8101 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.7112, allocations: 138.3 kB / 0.8103 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00338/0.7146, allocations: 1.426 MB / 0.8117 GB, free: 40 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.7146, allocations: 8 kB / 0.8117 GB, free: 32 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.7147, allocations: 4 kB / 0.8117 GB, free: 28 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.7147, allocations: 7.969 kB / 0.8117 GB, free: 20 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005144/0.7198, allocations: 2.82 MB / 0.8144 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.7199, allocations: 8.031 kB / 0.8145 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/0.721, allocations: 226.8 kB / 0.8147 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/0.721, allocations: 8 kB / 0.8147 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-05/0.7211, allocations: 31.97 kB / 0.8147 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/0.7211, allocations: 11.94 kB / 0.8147 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.7211, allocations: 4 kB / 0.8147 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004845/0.726, allocations: 2.279 MB / 0.8169 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005869/0.7266, allocations: 311.1 kB / 0.8172 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.7267, allocations: 20 kB / 0.8173 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.7278, allocations: 135.8 kB / 0.8174 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.7279, allocations: 72.38 kB / 0.8175 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.192e-05/0.728, allocations: 31.98 kB / 0.8175 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009955/0.729, allocations: 0.8405 MB / 0.8183 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.729, allocations: 0 / 0.8183 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009747/0.73, allocations: 323.5 kB / 0.8186 GB, free: 8.742 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.00625/0.7362, allocations: 3.266 MB / 0.8218 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003429/0.7397, allocations: 1.294 MB / 0.8231 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.7397, allocations: 0 / 0.8231 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.7413, allocations: 0.656 MB / 0.8237 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/0.744, allocations: 0.5668 MB / 0.8243 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/0.7596, allocations: 8.645 MB / 0.8327 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007371/0.7604, allocations: 1.175 MB / 0.8339 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001583/0.762, allocations: 340.9 kB / 0.8342 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007285/0.7628, allocations: 499.2 kB / 0.8347 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/0.7628, allocations: 0 / 0.8347 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3133/1.076, allocations: 32.22 MB / 0.8661 GB, free: 203.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/1.076, allocations: 255 kB / 0.8664 GB, free: 203.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/3.498, allocations: 3.125 kB / 0.8664 GB, free: 203.2 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) Environment - environmentSimulation: