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.001132/0.001132, allocations: 108.3 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.001074/0.001075, 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.329/1.329, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7028/0.7028, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.91 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3212, allocations: 76.14 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1868/0.5081, allocations: 193.8 MB / 0.7468 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3152/0.8233, allocations: 5.114 MB / 0.7518 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.8247, allocations: 50.25 kB / 0.7519 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.8268, allocations: 0.8141 MB / 0.7527 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007954/0.8347, allocations: 2.595 MB / 0.7552 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003455/0.8382, allocations: 1.112 MB / 0.7563 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004679/0.8429, allocations: 2.614 MB / 0.7588 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.8446, allocations: 0.8967 MB / 0.7597 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/0.8468, allocations: 1.078 MB / 0.7608 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.8482, allocations: 0.953 MB / 0.7617 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.8483, allocations: 78.34 kB / 0.7618 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003536/0.8519, allocations: 1.789 MB / 0.7635 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005085/0.8524, allocations: 430.5 kB / 0.7639 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008006/0.8532, allocations: 0.6442 MB / 0.7646 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003205/0.8564, allocations: 2.166 MB / 0.7667 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8565, allocations: 1.625 kB / 0.7667 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8565, allocations: 0 / 0.7667 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.783e-05/0.8565, allocations: 1.906 kB / 0.7667 GB, free: 1.484 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004862/0.8614, allocations: 1.929 MB / 0.7686 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.8614, allocations: 8.938 kB / 0.7686 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004047/0.8655, allocations: 0.6619 MB / 0.7692 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.8674, allocations: 0.946 MB / 0.7701 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-05/0.8675, allocations: 67.88 kB / 0.7702 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.8677, allocations: 86.31 kB / 0.7703 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003095/0.8708, allocations: 1.477 MB / 0.7717 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.8708, allocations: 6.312 kB / 0.7717 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.955e-05/0.8709, allocations: 36.72 kB / 0.7718 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.61e-05/0.871, allocations: 43.75 kB / 0.7718 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004287/0.8753, allocations: 1.525 MB / 0.7733 GB, free: 15.84 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.00916/0.8845, allocations: 5.472 MB / 0.7786 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003789/0.8883, allocations: 1.28 MB / 0.7799 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.8899, allocations: 0.6651 MB / 0.7805 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008943/0.8908, allocations: 0.5772 MB / 0.7811 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00168/0.8925, allocations: 0.7114 MB / 0.7818 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.916e-06/0.8925, allocations: 0 / 0.7818 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005204/0.8977, allocations: 1.878 MB / 0.7836 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.8978, allocations: 64.09 kB / 0.7837 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.8994, allocations: 1.24 MB / 0.7849 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.8995, allocations: 46.33 kB / 0.785 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/0.8999, allocations: 0.5803 MB / 0.7855 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.9002, allocations: 276.9 kB / 0.7858 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003067/0.9005, allocations: 182.9 kB / 0.786 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.9006, allocations: 340.4 kB / 0.7863 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.9021, allocations: 0.5337 MB / 0.7868 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.9038, allocations: 0.8231 MB / 0.7876 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002975/0.9068, allocations: 1.327 MB / 0.7889 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/0.9068, allocations: 2.25 kB / 0.7889 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003653/0.9104, allocations: 1.499 MB / 0.7904 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.9105, allocations: 10.41 kB / 0.7904 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.9105, allocations: 11.94 kB / 0.7904 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.9105, allocations: 14.56 kB / 0.7904 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.9119, allocations: 297.5 kB / 0.7907 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/0.9119, allocations: 19.47 kB / 0.7907 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.9134, allocations: 195 kB / 0.7909 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.9135, allocations: 50.25 kB / 0.7909 GB, free: 10.33 MB / 0.5919 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.0006507/0.9141, allocations: 334.6 kB / 0.7913 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/0.9144, allocations: 136.6 kB / 0.7914 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00353/0.9179, allocations: 1.414 MB / 0.7928 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.918, allocations: 8.938 kB / 0.7928 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.918, allocations: 2.859 kB / 0.7928 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.918, allocations: 1.453 kB / 0.7928 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005681/0.9237, allocations: 2.812 MB / 0.7955 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.9237, allocations: 3.594 kB / 0.7955 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.9249, allocations: 219.4 kB / 0.7957 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.9249, allocations: 5.031 kB / 0.7957 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-05/0.925, allocations: 34.81 kB / 0.7958 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/0.925, allocations: 12.78 kB / 0.7958 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.925, allocations: 7.969 kB / 0.7958 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004851/0.9299, allocations: 2.243 MB / 0.798 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006754/0.9306, allocations: 290.4 kB / 0.7983 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/0.9308, allocations: 26.39 kB / 0.7983 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.932, allocations: 113.5 kB / 0.7984 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.9321, allocations: 67.73 kB / 0.7985 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-05/0.9322, allocations: 36.25 kB / 0.7985 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001018/0.9332, allocations: 0.8534 MB / 0.7993 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9332, allocations: 0 / 0.7993 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00115/0.9344, allocations: 310.8 kB / 0.7996 GB, free: 8.805 MB / 0.5919 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.001254/0.9356, allocations: 0.5332 MB / 0.8002 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003366/0.939, allocations: 1.293 MB / 0.8014 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.939, allocations: 2.781 kB / 0.8014 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.9406, allocations: 0.6388 MB / 0.802 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/0.9431, allocations: 0.598 MB / 0.8026 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004845/0.9479, allocations: 2.566 MB / 0.8051 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007486/0.9487, allocations: 1.168 MB / 0.8063 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001147/0.9498, allocations: 346.6 kB / 0.8066 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/0.9502, allocations: 112.3 kB / 0.8067 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.9502, allocations: 5.312 kB / 0.8067 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of Templates: time 0.03607/0.9863, allocations: 22.2 MB / 0.8284 GB, free: 3.027 MB / 0.6075 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)