Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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: translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.001038/0.001038, allocations: 196 kB / 17.34 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6771/0.6771, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 66.25 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.133, allocations: 76.19 MB / 0.6321 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5094/0.6425, allocations: 193.8 MB / 0.8214 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008081/0.6506, allocations: 5.142 MB / 0.8264 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.6518, allocations: 47.19 kB / 0.8264 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.6535, allocations: 0.8105 MB / 0.8272 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005484/0.659, allocations: 2.605 MB / 0.8298 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.6613, allocations: 1.107 MB / 0.8308 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003188/0.6645, allocations: 2.616 MB / 0.8334 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.6657, allocations: 0.8918 MB / 0.8343 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.6674, allocations: 1.104 MB / 0.8353 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.6685, allocations: 0.9564 MB / 0.8363 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.6686, allocations: 78.03 kB / 0.8364 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003074/0.6717, allocations: 1.783 MB / 0.8381 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003764/0.6721, allocations: 434.1 kB / 0.8385 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005405/0.6726, allocations: 0.6401 MB / 0.8391 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002928/0.6756, allocations: 2.152 MB / 0.8412 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.6756, allocations: 0 / 0.8412 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6756, allocations: 0 / 0.8412 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.6756, allocations: 0 / 0.8412 GB, free: 15.3 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.00452/0.6801, allocations: 1.929 MB / 0.8431 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.6802, allocations: 10.38 kB / 0.8431 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003689/0.6839, allocations: 0.6593 MB / 0.8438 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.6852, allocations: 0.951 MB / 0.8447 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.91e-05/0.6853, allocations: 63.7 kB / 0.8448 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.6855, allocations: 88.41 kB / 0.8448 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/0.6883, allocations: 1.47 MB / 0.8463 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.6883, allocations: 3.938 kB / 0.8463 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.6884, allocations: 37.38 kB / 0.8463 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.813e-05/0.6884, allocations: 48.08 kB / 0.8464 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003664/0.6921, allocations: 1.518 MB / 0.8479 GB, free: 10.79 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.006295/0.6984, allocations: 5.487 MB / 0.8532 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003444/0.7019, allocations: 1.29 MB / 0.8545 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/0.7035, allocations: 0.6514 MB / 0.8551 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007861/0.7043, allocations: 0.5863 MB / 0.8557 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001773/0.706, allocations: 0.7097 MB / 0.8564 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.445e-06/0.7061, allocations: 0 / 0.8564 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005223/0.7113, allocations: 1.88 MB / 0.8582 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.7113, allocations: 60.06 kB / 0.8583 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.7126, allocations: 1.239 MB / 0.8595 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.903e-05/0.7127, allocations: 45.7 kB / 0.8595 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/0.7131, allocations: 0.5762 MB / 0.8601 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.7133, allocations: 274.1 kB / 0.8603 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/0.7136, allocations: 186.5 kB / 0.8605 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.7137, allocations: 349.9 kB / 0.8609 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.7152, allocations: 0.5367 MB / 0.8614 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.7169, allocations: 0.8158 MB / 0.8622 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/0.72, allocations: 1.327 MB / 0.8635 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.7201, allocations: 0 / 0.8635 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003533/0.7236, allocations: 1.493 MB / 0.8649 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.7236, allocations: 11.94 kB / 0.8649 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.7237, allocations: 13.75 kB / 0.865 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.7237, allocations: 12 kB / 0.865 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.725, allocations: 287.6 kB / 0.8652 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/0.7251, allocations: 19.92 kB / 0.8653 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.7262, allocations: 202.7 kB / 0.8655 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.711e-05/0.7263, allocations: 43.98 kB / 0.8655 GB, free: 8.098 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 ($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 (117): * Single equations (assignments): 117 * 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.0004267/0.7268, allocations: 343.2 kB / 0.8658 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.7269, allocations: 134.3 kB / 0.8659 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/0.7306, allocations: 1.413 MB / 0.8673 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.7306, allocations: 8 kB / 0.8673 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.7306, allocations: 0 / 0.8673 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.7306, allocations: 3.984 kB / 0.8673 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005219/0.7359, allocations: 2.796 MB / 0.8701 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.7359, allocations: 4 kB / 0.8701 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.7371, allocations: 227.9 kB / 0.8703 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.7371, allocations: 11.94 kB / 0.8703 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.857e-05/0.7372, allocations: 31.97 kB / 0.8703 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.7372, allocations: 4 kB / 0.8703 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.647e-06/0.7372, allocations: 14.05 kB / 0.8704 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005316/0.7425, allocations: 2.242 MB / 0.8725 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004696/0.743, allocations: 303.2 kB / 0.8728 GB, free: 436 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.7433, allocations: 20.88 kB / 0.8728 GB, free: 416 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.7444, allocations: 112 kB / 0.873 GB, free: 304 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.7446, allocations: 68.31 kB / 0.873 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.603e-05/0.7446, allocations: 39.97 kB / 0.8731 GB, free: 196 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001044/0.7457, allocations: 0.8522 MB / 0.8739 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7457, allocations: 4 kB / 0.8739 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009873/0.7467, allocations: 311.6 kB / 0.8742 GB, free: 15.03 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 (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.0012/0.7479, allocations: 0.5402 MB / 0.8747 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003572/0.7515, allocations: 1.294 MB / 0.876 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7515, allocations: 0 / 0.876 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001738/0.7532, allocations: 0.6404 MB / 0.8766 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/0.7558, allocations: 0.5898 MB / 0.8772 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005017/0.7609, allocations: 2.554 MB / 0.8797 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008762/0.7618, allocations: 1.175 MB / 0.8808 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001123/0.7629, allocations: 341.9 kB / 0.8812 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/0.7633, allocations: 119.4 kB / 0.8813 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of SimCode: time 6.52e-07/0.7633, allocations: 0 / 0.8813 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of Templates: time 0.03334/0.7966, allocations: 22.37 MB / 0.9031 GB, free: 1.777 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)