Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 105.5 kB / 16.4 MB, free: 6.453 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.001765/0.001764, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7152/0.7152, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 64.64 kB / 0.5577 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1733, allocations: 76.18 MB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0294/0.2027, allocations: 29.31 MB / 0.6607 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0111/0.2139, allocations: 6.88 MB / 0.6674 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.2157, allocations: 47.62 kB / 0.6675 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.2175, allocations: 0.6954 MB / 0.6682 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004491/0.2221, allocations: 1.454 MB / 0.6696 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003319/0.2255, allocations: 1.151 MB / 0.6707 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003738/0.2292, allocations: 2.477 MB / 0.6731 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.231, allocations: 0.7981 MB / 0.6739 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003552/0.2345, allocations: 1.039 MB / 0.6749 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/0.2365, allocations: 0.8169 MB / 0.6757 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.2367, allocations: 64 kB / 0.6758 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.2394, allocations: 0.8226 MB / 0.6766 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004/0.2398, allocations: 271 kB / 0.6769 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007481/0.2405, allocations: 0.5593 MB / 0.6774 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.2429, allocations: 1.62 MB / 0.679 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2429, allocations: 0 / 0.679 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2429, allocations: 3.938 kB / 0.679 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.2429, allocations: 0 / 0.679 GB, free: 4.207 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002712/0.2456, allocations: 1.566 MB / 0.6805 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.2457, allocations: 12.02 kB / 0.6805 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003473/0.2492, allocations: 0.5845 MB / 0.6811 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.2506, allocations: 0.8642 MB / 0.6819 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.038e-05/0.2507, allocations: 50.38 kB / 0.682 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.2508, allocations: 83.92 kB / 0.6821 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/0.2533, allocations: 1.103 MB / 0.6831 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.2533, allocations: 0 / 0.6831 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.479e-05/0.2534, allocations: 28 kB / 0.6832 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.2534, allocations: 20 kB / 0.6832 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003138/0.2566, allocations: 1 MB / 0.6842 GB, free: 14.7 MB / 0.5294 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.005782/0.2624, allocations: 4.954 MB / 0.689 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002981/0.2654, allocations: 0.9065 MB / 0.6899 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.2668, allocations: 480.6 kB / 0.6903 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/0.2683, allocations: 1.592 MB / 0.6919 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001708/0.27, allocations: 0.5767 MB / 0.6925 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 4.508e-06/0.27, allocations: 0 / 0.6925 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.004935/0.275, allocations: 1.485 MB / 0.6939 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.275, allocations: 67.95 kB / 0.694 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.2764, allocations: 1.108 MB / 0.6951 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.515e-05/0.2764, allocations: 45.7 kB / 0.6951 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/0.2769, allocations: 0.5395 MB / 0.6956 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.2771, allocations: 217 kB / 0.6958 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/0.2773, allocations: 158.5 kB / 0.696 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.2775, allocations: 338 kB / 0.6963 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.279, allocations: 453.6 kB / 0.6967 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.2807, allocations: 0.7127 MB / 0.6974 GB, free: 284 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003156/0.2838, allocations: 1.124 MB / 0.6985 GB, free: 15.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.2839, allocations: 4 kB / 0.6985 GB, free: 15.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003744/0.2876, allocations: 1.271 MB / 0.6998 GB, free: 13.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.2877, allocations: 12 kB / 0.6998 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.2877, allocations: 4 kB / 0.6998 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.2877, allocations: 16.03 kB / 0.6998 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.2889, allocations: 263.6 kB / 0.7001 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/0.289, allocations: 19.92 kB / 0.7001 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.2902, allocations: 186.9 kB / 0.7003 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.523e-05/0.2903, allocations: 43.98 kB / 0.7003 GB, free: 13.23 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0004937/0.2908, allocations: 287.8 kB / 0.7006 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.291, allocations: 122.4 kB / 0.7007 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003816/0.2948, allocations: 1.363 MB / 0.702 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/0.2949, allocations: 11.98 kB / 0.702 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2949, allocations: 4 kB / 0.702 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.2949, allocations: 0 / 0.702 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005088/0.3, allocations: 2.374 MB / 0.7044 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.3, allocations: 0 / 0.7044 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.3011, allocations: 191.9 kB / 0.7045 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.3011, allocations: 4 kB / 0.7045 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.916e-05/0.3011, allocations: 27.97 kB / 0.7046 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.3012, allocations: 7.938 kB / 0.7046 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3012, allocations: 4 kB / 0.7046 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005162/0.3063, allocations: 1.969 MB / 0.7065 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005853/0.3069, allocations: 275.3 kB / 0.7068 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.3071, allocations: 16 kB / 0.7068 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009231/0.308, allocations: 103.9 kB / 0.7069 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.3082, allocations: 60.42 kB / 0.7069 GB, free: 6.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.688e-05/0.3082, allocations: 31.97 kB / 0.707 GB, free: 6.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009503/0.3092, allocations: 0.7638 MB / 0.7077 GB, free: 5.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3092, allocations: 0 / 0.7077 GB, free: 5.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00114/0.3104, allocations: 347.5 kB / 0.7081 GB, free: 5.141 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001537/0.3119, allocations: 0.6547 MB / 0.7087 GB, free: 4.641 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003437/0.3153, allocations: 1.118 MB / 0.7098 GB, free: 3.523 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3154, allocations: 0 / 0.7098 GB, free: 3.523 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001696/0.3171, allocations: 0.5775 MB / 0.7103 GB, free: 2.949 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.3192, allocations: 461.8 kB / 0.7108 GB, free: 2.508 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004829/0.3241, allocations: 2.334 MB / 0.7131 GB, free: 132 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006197/0.3247, allocations: 1.096 MB / 0.7141 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008216/0.3255, allocations: 248.6 kB / 0.7144 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.3258, allocations: 111.4 kB / 0.7145 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of SimCode: time 9.01e-07/0.3259, allocations: 4 kB / 0.7145 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of Templates: time 0.03495/0.3608, allocations: 20.36 MB / 0.7344 GB, free: 10.53 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)