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.001209/0.001209, allocations: 109.2 kB / 17.09 MB, free: 5.828 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.001296/0.001296, allocations: 194.7 kB / 18.02 MB, free: 4.961 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.237/1.237, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.668/0.668, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 66.5 kB / 0.5584 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1086, allocations: 76.18 MB / 0.6328 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02641/0.135, allocations: 29.32 MB / 0.6614 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009156/0.1442, allocations: 6.87 MB / 0.6681 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007633/0.145, allocations: 47.69 kB / 0.6682 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.1463, allocations: 0.6876 MB / 0.6688 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002643/0.149, allocations: 1.458 MB / 0.6702 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.1513, allocations: 1.158 MB / 0.6714 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002419/0.1537, allocations: 2.469 MB / 0.6738 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009102/0.1546, allocations: 0.8021 MB / 0.6746 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.156, allocations: 1.043 MB / 0.6756 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008767/0.1569, allocations: 0.813 MB / 0.6764 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.157, allocations: 68 kB / 0.6765 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.1584, allocations: 0.8265 MB / 0.6773 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000229/0.1586, allocations: 271 kB / 0.6775 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004317/0.1591, allocations: 0.5437 MB / 0.678 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.1607, allocations: 1.616 MB / 0.6796 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1608, allocations: 8 kB / 0.6796 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1608, allocations: 0 / 0.6796 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.1608, 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.002298/0.1631, allocations: 1.562 MB / 0.6812 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1631, allocations: 12.03 kB / 0.6812 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003702/0.1668, allocations: 0.5884 MB / 0.6817 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.1681, allocations: 0.868 MB / 0.6826 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.1681, allocations: 54.38 kB / 0.6826 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.1682, allocations: 75.94 kB / 0.6827 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.1705, allocations: 1.103 MB / 0.6838 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.1706, allocations: 3.938 kB / 0.6838 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-05/0.1706, allocations: 28 kB / 0.6838 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.1707, allocations: 20 kB / 0.6838 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002976/0.1737, allocations: 1 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.004992/0.1787, allocations: 4.958 MB / 0.6897 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/0.1815, allocations: 0.9021 MB / 0.6905 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.1829, allocations: 489.1 kB / 0.691 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001293/0.1843, allocations: 1.591 MB / 0.6926 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001616/0.1859, allocations: 0.5689 MB / 0.6931 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.795e-06/0.1859, allocations: 4 kB / 0.6931 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.004602/0.1905, allocations: 1.485 MB / 0.6946 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.1905, allocations: 55.97 kB / 0.6946 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.1917, allocations: 1.12 MB / 0.6957 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.121e-05/0.1918, allocations: 45.64 kB / 0.6958 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003724/0.1921, allocations: 0.5434 MB / 0.6963 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.1923, allocations: 209 kB / 0.6965 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.1925, allocations: 162.5 kB / 0.6966 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1927, allocations: 337.9 kB / 0.697 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.1941, allocations: 457.6 kB / 0.6974 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.1957, allocations: 0.7088 MB / 0.6981 GB, free: 280 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002976/0.1987, allocations: 1.12 MB / 0.6992 GB, free: 15.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.1987, allocations: 4 kB / 0.6992 GB, free: 15.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003372/0.2021, allocations: 1.274 MB / 0.7004 GB, free: 13.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2021, allocations: 8 kB / 0.7005 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.2021, allocations: 8.906 kB / 0.7005 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.2022, allocations: 12 kB / 0.7005 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.2034, allocations: 271.6 kB / 0.7007 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/0.2034, allocations: 19.92 kB / 0.7007 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.2045, allocations: 178.9 kB / 0.7009 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.042e-05/0.2046, allocations: 47.97 kB / 0.701 GB, free: 13.22 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.0003696/0.205, allocations: 295.8 kB / 0.7012 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.2051, allocations: 122.4 kB / 0.7014 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/0.2088, allocations: 1.347 MB / 0.7027 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.2088, allocations: 3.984 kB / 0.7027 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2088, allocations: 4 kB / 0.7027 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.2091, allocations: 271.3 kB / 0.7029 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.2093, allocations: 16 kB / 0.703 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008902/0.2102, allocations: 103.9 kB / 0.7031 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.276e-05/0.2103, allocations: 48.44 kB / 0.7031 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004005/0.2143, allocations: 1.343 MB / 0.7044 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005005/0.2193, allocations: 2.031 MB / 0.7064 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001507/0.2208, allocations: 0.547 MB / 0.7069 GB, free: 7.043 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008321/0.2217, allocations: 0.7638 MB / 0.7077 GB, free: 6.273 MB / 0.545 GB Notification: Performance of Backend: time 3.7e-07/0.2217, allocations: 3.938 kB / 0.7077 GB, free: 6.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003642/0.2253, allocations: 1.35 MB / 0.709 GB, free: 5.078 MB / 0.545 GB Notification: Performance of SimCode: time 0.003541/0.2289, allocations: 2.567 MB / 0.7115 GB, free: 2.473 MB / 0.545 GB Notification: Performance of Templates: time 0.03229/0.2612, allocations: 21.8 MB / 0.7328 GB, free: 12.89 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)