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.001033/0.001033, allocations: 108.7 kB / 17.03 MB, free: 5.656 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.001007/0.001007, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.255/1.255, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6734/0.6734, allocations: 115.1 MB / 406.9 MB, free: 6.305 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.84 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3371, allocations: 76.14 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1912/0.5283, allocations: 193.8 MB / 0.7468 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3253/0.8536, allocations: 5.125 MB / 0.7518 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.8554, allocations: 45.75 kB / 0.7519 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.8575, allocations: 0.815 MB / 0.7527 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00692/0.8645, allocations: 2.596 MB / 0.7552 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002929/0.8675, allocations: 1.113 MB / 0.7563 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004603/0.8721, allocations: 2.679 MB / 0.7589 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.8739, allocations: 0.95 MB / 0.7598 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002676/0.8766, allocations: 1.107 MB / 0.7609 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002173/0.8788, allocations: 0.9868 MB / 0.7619 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002653/0.8791, allocations: 89.62 kB / 0.762 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004083/0.8832, allocations: 1.792 MB / 0.7637 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005921/0.8838, allocations: 451.9 kB / 0.7641 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.8849, allocations: 0.664 MB / 0.7648 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004994/0.8899, allocations: 2.221 MB / 0.767 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.8899, allocations: 0.5625 kB / 0.767 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.745e-06/0.8899, allocations: 1 kB / 0.767 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.886e-05/0.89, allocations: 2.25 kB / 0.767 GB, free: 1.473 MB / 0.5762 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.005309/0.8953, allocations: 1.954 MB / 0.7689 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.8953, allocations: 12.91 kB / 0.7689 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005433/0.9008, allocations: 0.8944 MB / 0.7698 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.9029, allocations: 0.9678 MB / 0.7707 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/0.9029, allocations: 70.66 kB / 0.7708 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.9031, allocations: 96.8 kB / 0.7709 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003595/0.9067, allocations: 1.586 MB / 0.7724 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.9068, allocations: 7.625 kB / 0.7724 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.9069, allocations: 31.19 kB / 0.7724 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.368e-05/0.907, allocations: 48.02 kB / 0.7725 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005088/0.9121, allocations: 1.845 MB / 0.7743 GB, free: 15.93 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.007655/0.9197, allocations: 4.732 MB / 0.7789 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003825/0.9236, allocations: 1.565 MB / 0.7804 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002058/0.9257, allocations: 0.8531 MB / 0.7813 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/0.9269, allocations: 0.9456 MB / 0.7822 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002171/0.9291, allocations: 0.9067 MB / 0.7831 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.717e-06/0.9291, allocations: 0.75 kB / 0.7831 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.007073/0.9362, allocations: 2.462 MB / 0.7855 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.9363, allocations: 63.64 kB / 0.7856 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.9377, allocations: 1.2 MB / 0.7867 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.9378, allocations: 44.58 kB / 0.7868 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/0.9381, allocations: 0.5413 MB / 0.7873 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/0.9384, allocations: 325 kB / 0.7876 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.9387, allocations: 189.2 kB / 0.7878 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.9389, allocations: 346.9 kB / 0.7881 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.9408, allocations: 0.6912 MB / 0.7888 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/0.9428, allocations: 0.9124 MB / 0.7897 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004169/0.947, allocations: 1.551 MB / 0.7912 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.947, allocations: 2 kB / 0.7912 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00484/0.9519, allocations: 1.783 MB / 0.7929 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.9519, allocations: 4.688 kB / 0.7929 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.9519, allocations: 6.062 kB / 0.7929 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/0.952, allocations: 10.62 kB / 0.793 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.9537, allocations: 343.2 kB / 0.7933 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.9537, allocations: 13.91 kB / 0.7933 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.9555, allocations: 233.1 kB / 0.7935 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.9556, allocations: 50.08 kB / 0.7936 GB, free: 11.29 MB / 0.5919 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.0005816/0.9562, allocations: 338.5 kB / 0.7939 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.9564, allocations: 134.6 kB / 0.794 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004561/0.961, allocations: 1.807 MB / 0.7958 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.961, allocations: 8.188 kB / 0.7958 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.961, allocations: 2.094 kB / 0.7958 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.961, allocations: 4.875 kB / 0.7958 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00684/0.9678, allocations: 3.333 MB / 0.7991 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.9679, allocations: 5.453 kB / 0.7991 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/0.9695, allocations: 303.2 kB / 0.7993 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/0.9695, allocations: 7.219 kB / 0.7994 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.9696, allocations: 31 kB / 0.7994 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/0.9697, allocations: 11.09 kB / 0.7994 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.9697, allocations: 3.875 kB / 0.7994 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006575/0.9762, allocations: 2.845 MB / 0.8022 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008302/0.9771, allocations: 328.2 kB / 0.8025 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.9773, allocations: 28.11 kB / 0.8025 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.9786, allocations: 151.7 kB / 0.8027 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.9788, allocations: 72.83 kB / 0.8027 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.721e-05/0.9789, allocations: 43.5 kB / 0.8028 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009969/0.9799, allocations: 0.8351 MB / 0.8036 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9799, allocations: 0 / 0.8036 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001027/0.9809, allocations: 340.9 kB / 0.8039 GB, free: 8.398 MB / 0.5919 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.001369/0.9823, allocations: 0.5371 MB / 0.8044 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004302/0.9866, allocations: 1.633 MB / 0.806 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.9867, allocations: 0 / 0.806 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00204/0.9887, allocations: 0.8363 MB / 0.8069 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/0.9915, allocations: 0.6187 MB / 0.8075 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005676/0.9972, allocations: 2.97 MB / 0.8104 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.9978, allocations: 1.185 MB / 0.8115 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001355/0.9992, allocations: 361.9 kB / 0.8119 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000421/0.9996, allocations: 116.6 kB / 0.812 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of SimCode: time 1.012e-06/0.9996, allocations: 1.203 kB / 0.812 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of Templates: time 0.03722/1.037, allocations: 23.77 MB / 0.8352 GB, free: 13.62 MB / 0.6231 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)