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.001642/0.001642, allocations: 103.8 kB / 15.98 MB, free: 6.355 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.00187/0.00187, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.358/1.358, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7692/0.7692, allocations: 122.9 MB / 413.6 MB, free: 84 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.89 kB / 0.4906 GB, free: 7.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3908, allocations: 77.91 MB / 0.5667 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.551/0.9418, allocations: 191.3 MB / 0.7535 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.9527, allocations: 5.125 MB / 0.7585 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.9544, allocations: 44.72 kB / 0.7585 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002472/0.9569, allocations: 0.7272 MB / 0.7592 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008266/0.9652, allocations: 2.453 MB / 0.7616 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003463/0.9687, allocations: 1.001 MB / 0.7626 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004712/0.9734, allocations: 2.698 MB / 0.7652 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.9753, allocations: 0.9529 MB / 0.7662 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002761/0.978, allocations: 1.135 MB / 0.7673 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.98, allocations: 1.059 MB / 0.7683 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.9802, allocations: 87.09 kB / 0.7684 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004149/0.9843, allocations: 1.855 MB / 0.7702 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006379/0.985, allocations: 458.1 kB / 0.7706 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.9862, allocations: 0.6646 MB / 0.7713 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005742/0.9919, allocations: 2.303 MB / 0.7735 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.992, allocations: 0.9062 kB / 0.7735 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.926e-06/0.992, allocations: 0 / 0.7735 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.373e-05/0.9921, allocations: 0 / 0.7735 GB, free: 1.398 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.00639/0.9985, allocations: 1.96 MB / 0.7755 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.9985, allocations: 12.34 kB / 0.7755 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005885/1.004, allocations: 0.8908 MB / 0.7763 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/1.006, allocations: 0.9062 MB / 0.7772 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/1.006, allocations: 73.61 kB / 0.7773 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/1.007, allocations: 90.28 kB / 0.7774 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003913/1.011, allocations: 1.579 MB / 0.7789 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/1.011, allocations: 2.906 kB / 0.7789 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/1.011, allocations: 37.45 kB / 0.779 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.876e-05/1.011, allocations: 49.73 kB / 0.779 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005039/1.016, allocations: 1.852 MB / 0.7808 GB, free: 15.86 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.008026/1.024, allocations: 4.732 MB / 0.7854 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004281/1.028, allocations: 1.559 MB / 0.787 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/1.03, allocations: 0.8529 MB / 0.7878 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/1.032, allocations: 0.9472 MB / 0.7887 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002435/1.034, allocations: 0.9162 MB / 0.7896 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.237e-06/1.034, allocations: 0 / 0.7896 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.007341/1.042, allocations: 2.455 MB / 0.792 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/1.042, allocations: 63.19 kB / 0.7921 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/1.043, allocations: 1.194 MB / 0.7932 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/1.043, allocations: 50.55 kB / 0.7933 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003978/1.044, allocations: 0.539 MB / 0.7938 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003036/1.044, allocations: 330.6 kB / 0.7941 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003564/1.044, allocations: 183.4 kB / 0.7943 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.045, allocations: 347.9 kB / 0.7946 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/1.047, allocations: 0.6955 MB / 0.7953 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/1.049, allocations: 0.9066 MB / 0.7962 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004035/1.053, allocations: 1.564 MB / 0.7977 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/1.053, allocations: 3.188 kB / 0.7977 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004921/1.058, allocations: 1.774 MB / 0.7995 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/1.058, allocations: 8.531 kB / 0.7995 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/1.058, allocations: 6.938 kB / 0.7995 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/1.058, allocations: 12.59 kB / 0.7995 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/1.06, allocations: 336 kB / 0.7998 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/1.06, allocations: 11.97 kB / 0.7998 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/1.062, allocations: 263.9 kB / 0.8001 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/1.062, allocations: 48.53 kB / 0.8001 GB, free: 11.15 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.0006209/1.063, allocations: 339.5 kB / 0.8004 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002631/1.063, allocations: 130.7 kB / 0.8006 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005228/1.068, allocations: 1.801 MB / 0.8023 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/1.068, allocations: 11.16 kB / 0.8023 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.068, allocations: 0 / 0.8023 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/1.068, allocations: 3.891 kB / 0.8023 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007479/1.076, allocations: 3.337 MB / 0.8056 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/1.076, allocations: 4.469 kB / 0.8056 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/1.077, allocations: 296 kB / 0.8059 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/1.077, allocations: 7.812 kB / 0.8059 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/1.077, allocations: 35.64 kB / 0.8059 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/1.078, allocations: 7.656 kB / 0.8059 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.078, allocations: 5.875 kB / 0.8059 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007408/1.085, allocations: 2.854 MB / 0.8087 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008063/1.086, allocations: 315.6 kB / 0.809 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/1.086, allocations: 21.28 kB / 0.8091 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/1.088, allocations: 181.1 kB / 0.8092 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/1.088, allocations: 71.61 kB / 0.8093 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.893e-05/1.088, allocations: 37.12 kB / 0.8093 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001171/1.089, allocations: 0.8355 MB / 0.8101 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.61e-07/1.089, allocations: 7.938 kB / 0.8102 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00116/1.09, allocations: 334.7 kB / 0.8105 GB, free: 8.125 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.001398/1.092, allocations: 0.5421 MB / 0.811 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005467/1.097, allocations: 1.777 MB / 0.8127 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.097, allocations: 0 / 0.8127 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002345/1.099, allocations: 0.8418 MB / 0.8136 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/1.102, allocations: 0.6085 MB / 0.8142 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006689/1.109, allocations: 3.414 MB / 0.8175 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007866/1.11, allocations: 1.182 MB / 0.8186 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001809/1.112, allocations: 358 kB / 0.819 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004783/1.112, allocations: 117.4 kB / 0.8191 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of SimCode: time 7.21e-07/1.112, allocations: 0 / 0.8191 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of Templates: time 0.04318/1.155, allocations: 23.56 MB / 0.8421 GB, free: 11.11 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)