Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 116.9 kB / 17.08 MB, free: 5.965 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.001215/0.001215, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.318/1.318, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.735/0.735, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 66.88 kB / 0.5584 GB, free: 32.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1674, allocations: 76.18 MB / 0.6328 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6204/0.7878, allocations: 193.8 MB / 0.822 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009326/0.7972, allocations: 5.15 MB / 0.827 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.7991, allocations: 48.12 kB / 0.8271 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.8013, allocations: 0.8145 MB / 0.8279 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007617/0.809, allocations: 2.593 MB / 0.8304 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003345/0.8124, allocations: 1.115 MB / 0.8315 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004645/0.817, allocations: 2.677 MB / 0.8341 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.8192, allocations: 0.9445 MB / 0.835 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00316/0.8224, allocations: 1.134 MB / 0.8362 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002368/0.8248, allocations: 0.9877 MB / 0.8371 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004662/0.8253, allocations: 86.38 kB / 0.8372 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004751/0.83, allocations: 1.8 MB / 0.839 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008367/0.8309, allocations: 446.3 kB / 0.8394 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001636/0.8325, allocations: 0.6612 MB / 0.84 GB, free: 204 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005668/0.8382, allocations: 2.21 MB / 0.8422 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.8383, allocations: 0 / 0.8422 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8383, allocations: 0 / 0.8422 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.69e-05/0.8384, allocations: 0 / 0.8422 GB, free: 14.96 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.006656/0.845, allocations: 1.963 MB / 0.8441 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.8451, allocations: 10.03 kB / 0.8441 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005905/0.851, allocations: 0.8987 MB / 0.845 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.8534, allocations: 0.9729 MB / 0.8459 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.291e-05/0.8535, allocations: 71 kB / 0.846 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002981/0.8538, allocations: 92.77 kB / 0.8461 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004234/0.858, allocations: 1.577 MB / 0.8476 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.8581, allocations: 0 / 0.8476 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.8582, allocations: 39.95 kB / 0.8477 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/0.8583, allocations: 50.3 kB / 0.8477 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005483/0.8638, allocations: 1.848 MB / 0.8495 GB, free: 9.562 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.008333/0.8721, allocations: 4.717 MB / 0.8541 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004562/0.8767, allocations: 1.566 MB / 0.8557 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/0.8791, allocations: 0.8551 MB / 0.8565 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/0.8804, allocations: 0.9406 MB / 0.8574 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002588/0.883, allocations: 0.9138 MB / 0.8583 GB, free: 208 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=95): time 3.467e-06/0.883, allocations: 0 / 0.8583 GB, free: 208 kB / 0.6075 GB Notification: Performance of matching and sorting (n=95): time 0.007865/0.8909, allocations: 2.456 MB / 0.8607 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.891, allocations: 68.41 kB / 0.8608 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.8924, allocations: 1.197 MB / 0.8619 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.8926, allocations: 49.7 kB / 0.862 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004373/0.893, allocations: 0.5351 MB / 0.8625 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.8933, allocations: 331.6 kB / 0.8628 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003332/0.8937, allocations: 186.6 kB / 0.863 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.8938, allocations: 345.9 kB / 0.8633 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002145/0.896, allocations: 0.6986 MB / 0.864 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002335/0.8983, allocations: 0.903 MB / 0.8649 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004325/0.9026, allocations: 1.554 MB / 0.8664 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.9027, allocations: 4 kB / 0.8664 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005093/0.9078, allocations: 1.785 MB / 0.8682 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.9078, allocations: 7.938 kB / 0.8682 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.9078, allocations: 6.188 kB / 0.8682 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/0.9079, allocations: 15.98 kB / 0.8682 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/0.9097, allocations: 336 kB / 0.8685 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.9097, allocations: 11.94 kB / 0.8685 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.9114, allocations: 241.8 kB / 0.8688 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.9116, allocations: 47.97 kB / 0.8688 GB, free: 5.305 MB / 0.6231 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 ($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 (121): * Single equations (assignments): 121 * 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.0005949/0.9122, allocations: 335.7 kB / 0.8691 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.9124, allocations: 130.4 kB / 0.8692 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005115/0.9175, allocations: 1.805 MB / 0.871 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.9175, allocations: 8 kB / 0.871 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.9175, allocations: 0 / 0.871 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.9176, allocations: 7.969 kB / 0.871 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007211/0.9248, allocations: 3.344 MB / 0.8743 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.9248, allocations: 7.938 kB / 0.8743 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/0.9265, allocations: 288.1 kB / 0.8746 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.9265, allocations: 8 kB / 0.8746 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.33e-05/0.9266, allocations: 33.03 kB / 0.8746 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.398e-05/0.9267, allocations: 15.92 kB / 0.8746 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.9267, allocations: 4 kB / 0.8746 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007422/0.9341, allocations: 2.839 MB / 0.8774 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006467/0.9348, allocations: 327.2 kB / 0.8777 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.935, allocations: 27.94 kB / 0.8777 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.9364, allocations: 155.8 kB / 0.8779 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.9366, allocations: 69.39 kB / 0.878 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.055e-05/0.9367, allocations: 43.97 kB / 0.878 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001012/0.9377, allocations: 0.8315 MB / 0.8788 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9377, allocations: 0 / 0.8788 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001046/0.9387, allocations: 339.6 kB / 0.8791 GB, free: 10.55 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 (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.001273/0.94, allocations: 0.5475 MB / 0.8797 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004845/0.9449, allocations: 1.639 MB / 0.8813 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.9449, allocations: 0 / 0.8813 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002375/0.9473, allocations: 0.8419 MB / 0.8821 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/0.9502, allocations: 0.6107 MB / 0.8827 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006125/0.9564, allocations: 3.016 MB / 0.8856 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007104/0.9571, allocations: 1.187 MB / 0.8868 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006542/0.9578, allocations: 135.3 kB / 0.8869 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of SimCode: time 9.91e-07/0.9578, allocations: 0 / 0.8869 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of Templates: time 0.03058/0.9884, allocations: 21.72 MB / 0.9081 GB, free: 13.07 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)