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.001326/0.001326, allocations: 120.8 kB / 17.09 MB, free: 6 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.001137/0.001137, allocations: 192.7 kB / 18.02 MB, free: 5.082 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.356/1.356, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.723/0.723, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 73.09 kB / 0.5584 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1325, allocations: 76.17 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02799/0.1606, allocations: 29.33 MB / 0.6614 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01011/0.1707, allocations: 6.878 MB / 0.6681 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.1721, allocations: 47.69 kB / 0.6681 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.1738, allocations: 0.6876 MB / 0.6688 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003598/0.1775, allocations: 1.464 MB / 0.6702 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002973/0.1804, allocations: 1.149 MB / 0.6714 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003356/0.1838, allocations: 2.477 MB / 0.6738 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.1852, allocations: 0.7943 MB / 0.6746 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.1875, allocations: 1.043 MB / 0.6756 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.189, allocations: 0.8169 MB / 0.6764 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000246/0.1893, allocations: 64 kB / 0.6764 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.1914, allocations: 0.8187 MB / 0.6772 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003533/0.1918, allocations: 271 kB / 0.6775 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006765/0.1925, allocations: 0.5592 MB / 0.678 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00237/0.1949, allocations: 1.62 MB / 0.6796 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1949, allocations: 0 / 0.6796 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1949, allocations: 0 / 0.6796 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.111e-05/0.1949, allocations: 0 / 0.6796 GB, free: 4.211 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.002637/0.1976, allocations: 1.566 MB / 0.6812 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1976, allocations: 8.031 kB / 0.6812 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003493/0.2011, allocations: 0.5845 MB / 0.6817 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.2026, allocations: 0.8641 MB / 0.6826 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.191e-05/0.2026, allocations: 58.36 kB / 0.6826 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.2028, allocations: 79.94 kB / 0.6827 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/0.2053, allocations: 1.098 MB / 0.6838 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.2053, allocations: 0 / 0.6838 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.164e-05/0.2054, allocations: 32 kB / 0.6838 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.2054, allocations: 20 kB / 0.6838 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00309/0.2085, allocations: 1.008 MB / 0.6848 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.006145/0.2147, allocations: 4.947 MB / 0.6897 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002902/0.2176, allocations: 0.9012 MB / 0.6905 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.2191, allocations: 494.4 kB / 0.691 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/0.2205, allocations: 1.587 MB / 0.6926 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001683/0.2222, allocations: 0.5729 MB / 0.6931 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.216e-06/0.2222, allocations: 0 / 0.6931 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.004859/0.2271, allocations: 1.485 MB / 0.6946 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.2271, allocations: 63.97 kB / 0.6946 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.2285, allocations: 1.108 MB / 0.6957 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.2286, allocations: 41.7 kB / 0.6957 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000478/0.2291, allocations: 0.5473 MB / 0.6963 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.2293, allocations: 209 kB / 0.6965 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.2296, allocations: 166.5 kB / 0.6966 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2297, allocations: 334 kB / 0.697 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.2312, allocations: 461.6 kB / 0.6974 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.2329, allocations: 0.7088 MB / 0.6981 GB, free: 288 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/0.236, allocations: 1.117 MB / 0.6992 GB, free: 15.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.236, allocations: 4 kB / 0.6992 GB, free: 15.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003619/0.2396, allocations: 1.274 MB / 0.7004 GB, free: 13.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.2397, allocations: 8 kB / 0.7004 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.2397, allocations: 12.06 kB / 0.7004 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.2397, allocations: 12 kB / 0.7005 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.2409, allocations: 267.6 kB / 0.7007 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.653e-05/0.241, allocations: 15.94 kB / 0.7007 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.2423, allocations: 190.9 kB / 0.7009 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.2424, allocations: 43.97 kB / 0.701 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.000649/0.243, allocations: 299.8 kB / 0.7012 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.2433, allocations: 126.4 kB / 0.7014 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003861/0.2472, allocations: 1.347 MB / 0.7027 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.2472, allocations: 19.92 kB / 0.7027 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.2472, allocations: 4 kB / 0.7027 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.2473, allocations: 3.984 kB / 0.7027 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005153/0.2524, allocations: 2.374 MB / 0.705 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.2524, allocations: 0 / 0.705 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.2535, allocations: 191.9 kB / 0.7052 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.496e-05/0.2535, allocations: 4 kB / 0.7052 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.915e-05/0.2536, allocations: 23.97 kB / 0.7052 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.2536, allocations: 4 kB / 0.7052 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.2536, allocations: 7.938 kB / 0.7052 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005168/0.2588, allocations: 1.977 MB / 0.7072 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004827/0.2593, allocations: 267.4 kB / 0.7074 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.2595, allocations: 20 kB / 0.7074 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009927/0.2605, allocations: 103.9 kB / 0.7075 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.2606, allocations: 60.38 kB / 0.7076 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/0.2607, allocations: 31.97 kB / 0.7076 GB, free: 6.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00108/0.2618, allocations: 0.7638 MB / 0.7084 GB, free: 5.473 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2618, allocations: 0 / 0.7084 GB, free: 5.473 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001239/0.2631, allocations: 343.5 kB / 0.7087 GB, free: 5.137 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.001674/0.2648, allocations: 0.6575 MB / 0.7093 GB, free: 4.637 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003489/0.2683, allocations: 1.118 MB / 0.7104 GB, free: 3.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.2683, allocations: 0 / 0.7104 GB, free: 3.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001703/0.27, allocations: 0.5736 MB / 0.711 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.002249/0.2722, allocations: 460.7 kB / 0.7114 GB, free: 2.512 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005218/0.2775, allocations: 2.379 MB / 0.7138 GB, free: 84 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008305/0.2783, allocations: 1.096 MB / 0.7148 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005296/0.2789, allocations: 123.3 kB / 0.7149 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/0.2789, allocations: 0 / 0.7149 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of Templates: time 0.02901/0.3079, allocations: 19.13 MB / 0.7336 GB, free: 11.85 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)