Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 203.4 kB / 16.79 MB, free: 6.84 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.357/1.357, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7612/0.7612, allocations: 122.9 MB / 413.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.55 kB / 0.4904 GB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.198, allocations: 77.93 MB / 0.5665 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5186/0.7166, allocations: 191.5 MB / 0.7536 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.7271, allocations: 5.185 MB / 0.7586 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.7292, allocations: 43.69 kB / 0.7587 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002394/0.7316, allocations: 0.7116 MB / 0.7594 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007639/0.7393, allocations: 2.448 MB / 0.7618 GB, free: 4 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003251/0.7426, allocations: 1.003 MB / 0.7627 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004396/0.747, allocations: 3.538 MB / 0.7662 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.7487, allocations: 0.8185 MB / 0.767 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.7512, allocations: 0.9959 MB / 0.768 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.7532, allocations: 0.9962 MB / 0.7689 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003161/0.7536, allocations: 52 kB / 0.769 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004471/0.758, allocations: 2.073 MB / 0.771 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006883/0.7587, allocations: 414.6 kB / 0.7714 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.7601, allocations: 0.6253 MB / 0.772 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004357/0.7645, allocations: 2.227 MB / 0.7742 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7645, allocations: 0 / 0.7742 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.066e-06/0.7645, allocations: 4 kB / 0.7742 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.536e-05/0.7646, allocations: 0 / 0.7742 GB, free: 3.23 MB / 0.5919 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.006656/0.7712, allocations: 1.926 MB / 0.7761 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.7713, allocations: 20.02 kB / 0.7761 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004823/0.7761, allocations: 0.7044 MB / 0.7768 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.778, allocations: 0.8827 MB / 0.7776 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/0.7781, allocations: 73.98 kB / 0.7777 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002299/0.7784, allocations: 83.98 kB / 0.7778 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00367/0.782, allocations: 1.469 MB / 0.7792 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.7821, allocations: 4 kB / 0.7792 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.7822, allocations: 36 kB / 0.7793 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.094e-05/0.7823, allocations: 45.98 kB / 0.7793 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00447/0.7868, allocations: 1.561 MB / 0.7808 GB, free: 12.25 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.008085/0.7949, allocations: 5.015 MB / 0.7857 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003651/0.7985, allocations: 1.193 MB / 0.7869 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.8003, allocations: 0.6602 MB / 0.7875 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001422/0.8017, allocations: 0.941 MB / 0.7885 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001977/0.8037, allocations: 0.734 MB / 0.7892 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 4.378e-06/0.8037, allocations: 0 / 0.7892 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.00604/0.8098, allocations: 1.952 MB / 0.7911 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.8099, allocations: 60.06 kB / 0.7911 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.8116, allocations: 1.263 MB / 0.7924 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.8117, allocations: 49.69 kB / 0.7924 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004769/0.8122, allocations: 0.5755 MB / 0.793 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.8125, allocations: 276 kB / 0.7932 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003353/0.8129, allocations: 186.5 kB / 0.7934 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.813, allocations: 345.9 kB / 0.7938 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.8146, allocations: 0.5484 MB / 0.7943 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/0.8164, allocations: 0.8208 MB / 0.7951 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003413/0.8199, allocations: 1.344 MB / 0.7964 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.8199, allocations: 0 / 0.7964 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004034/0.8239, allocations: 1.519 MB / 0.7979 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.824, allocations: 8 kB / 0.7979 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.824, allocations: 12.06 kB / 0.7979 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/0.824, allocations: 12 kB / 0.7979 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.8255, allocations: 291.5 kB / 0.7982 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-05/0.8255, allocations: 16.86 kB / 0.7982 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.8271, allocations: 222.6 kB / 0.7984 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.8272, allocations: 43.98 kB / 0.7985 GB, free: 9.477 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0005525/0.8278, allocations: 343.7 kB / 0.7988 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/0.8281, allocations: 134.3 kB / 0.7989 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003934/0.832, allocations: 1.442 MB / 0.8003 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.8321, allocations: 11.98 kB / 0.8003 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8321, allocations: 4 kB / 0.8003 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.8321, allocations: 3.984 kB / 0.8003 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00596/0.8381, allocations: 2.862 MB / 0.8031 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.8381, allocations: 4 kB / 0.8031 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.8394, allocations: 228.2 kB / 0.8034 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/0.8394, allocations: 4 kB / 0.8034 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-05/0.8395, allocations: 27.97 kB / 0.8034 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-05/0.8395, allocations: 11.94 kB / 0.8034 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.8395, allocations: 4 kB / 0.8034 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005542/0.845, allocations: 2.314 MB / 0.8057 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005508/0.8456, allocations: 299.2 kB / 0.806 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/0.8458, allocations: 23.98 kB / 0.806 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.847, allocations: 127.8 kB / 0.8061 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.8472, allocations: 68.36 kB / 0.8062 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-05/0.8473, allocations: 39.97 kB / 0.8062 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001072/0.8484, allocations: 0.8723 MB / 0.8071 GB, free: 476 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8484, allocations: 0 / 0.8071 GB, free: 476 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001047/0.8494, allocations: 315.7 kB / 0.8074 GB, free: 160 kB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.001377/0.8508, allocations: 0.5355 MB / 0.8079 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003799/0.8546, allocations: 1.3 MB / 0.8091 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.8546, allocations: 4.062 kB / 0.8092 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.8565, allocations: 0.6597 MB / 0.8098 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/0.8594, allocations: 0.5893 MB / 0.8104 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005575/0.865, allocations: 2.981 MB / 0.8133 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008333/0.8659, allocations: 1.171 MB / 0.8144 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001583/0.8675, allocations: 358.2 kB / 0.8148 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004786/0.8679, allocations: 115.3 kB / 0.8149 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of SimCode: time 9.12e-07/0.868, allocations: 0 / 0.8149 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of Templates: time 0.3387/1.207, allocations: 22.12 MB / 0.8365 GB, free: 221.9 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)