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.001528/0.001528, allocations: 113.3 kB / 17.08 MB, free: 6.016 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.001461/0.001461, allocations: 199 kB / 18.02 MB, free: 5.094 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.34/1.34, 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.7587/0.7587, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 66.34 kB / 0.5584 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1558, allocations: 76.19 MB / 0.6328 GB, free: 4.246 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02909/0.1849, allocations: 29.32 MB / 0.6614 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01031/0.1953, allocations: 6.862 MB / 0.6681 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.1969, allocations: 51.69 kB / 0.6681 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001918/0.1989, allocations: 0.6914 MB / 0.6688 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004056/0.2029, allocations: 1.454 MB / 0.6702 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.2059, allocations: 1.159 MB / 0.6714 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00359/0.2095, allocations: 2.473 MB / 0.6738 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.2111, allocations: 0.7981 MB / 0.6746 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002201/0.2133, allocations: 1.039 MB / 0.6756 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.2148, allocations: 0.8208 MB / 0.6764 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002479/0.2151, allocations: 68 kB / 0.6764 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.2171, allocations: 0.8226 MB / 0.6772 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003762/0.2175, allocations: 275 kB / 0.6775 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007929/0.2183, allocations: 0.5476 MB / 0.678 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002752/0.221, allocations: 1.612 MB / 0.6796 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2211, allocations: 0 / 0.6796 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.167e-05/0.2211, allocations: 0 / 0.6796 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.835e-05/0.2211, allocations: 3.938 kB / 0.6796 GB, free: 4.074 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.003038/0.2242, allocations: 1.574 MB / 0.6812 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2242, allocations: 8.031 kB / 0.6812 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003451/0.2277, allocations: 0.5884 MB / 0.6817 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.2293, allocations: 0.8642 MB / 0.6826 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.78e-05/0.2293, allocations: 62.31 kB / 0.6826 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.2295, allocations: 71.94 kB / 0.6827 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.2319, allocations: 1.103 MB / 0.6838 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.232, allocations: 4 kB / 0.6838 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/0.2321, allocations: 28 kB / 0.6838 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.2321, allocations: 16 kB / 0.6838 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003025/0.2351, allocations: 1 MB / 0.6848 GB, free: 14.56 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.005872/0.241, allocations: 4.958 MB / 0.6897 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/0.2438, allocations: 0.8929 MB / 0.6905 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.2452, allocations: 490.2 kB / 0.691 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/0.2466, allocations: 1.592 MB / 0.6926 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001615/0.2483, allocations: 0.5768 MB / 0.6931 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.805e-06/0.2483, allocations: 0 / 0.6931 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.004662/0.2529, allocations: 1.481 MB / 0.6946 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.253, allocations: 63.91 kB / 0.6946 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.2545, allocations: 1.116 MB / 0.6957 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.026e-05/0.2546, allocations: 37.7 kB / 0.6957 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004559/0.255, allocations: 0.5434 MB / 0.6963 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.2552, allocations: 213 kB / 0.6965 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/0.2555, allocations: 166.5 kB / 0.6966 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2557, allocations: 337.9 kB / 0.697 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.2571, allocations: 445.6 kB / 0.6974 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.2587, allocations: 0.7205 MB / 0.6981 GB, free: 136 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002956/0.2617, allocations: 1.12 MB / 0.6992 GB, free: 14.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.2617, allocations: 0 / 0.6992 GB, free: 14.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003467/0.2652, allocations: 1.27 MB / 0.7004 GB, free: 13.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.2652, allocations: 11.98 kB / 0.7004 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.2652, allocations: 8 kB / 0.7004 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/0.2652, allocations: 12 kB / 0.7005 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.2664, allocations: 272 kB / 0.7007 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.402e-05/0.2665, allocations: 19.92 kB / 0.7007 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.2677, allocations: 170.9 kB / 0.7009 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.2678, allocations: 51.97 kB / 0.7009 GB, free: 13.09 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.000504/0.2683, allocations: 295.8 kB / 0.7012 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.2686, allocations: 122.4 kB / 0.7013 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003634/0.2723, allocations: 1.367 MB / 0.7027 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.2723, allocations: 11.98 kB / 0.7027 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2723, allocations: 0 / 0.7027 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.2723, allocations: 3.984 kB / 0.7027 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004985/0.2773, allocations: 2.378 MB / 0.705 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.2773, allocations: 4 kB / 0.705 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.2784, allocations: 183.9 kB / 0.7052 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/0.2784, allocations: 7.938 kB / 0.7052 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/0.2784, allocations: 23.98 kB / 0.7052 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/0.2785, allocations: 11.92 kB / 0.7052 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2785, allocations: 4 kB / 0.7052 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005038/0.2835, allocations: 1.965 MB / 0.7072 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004991/0.284, allocations: 279.4 kB / 0.7074 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/0.2843, allocations: 15.94 kB / 0.7074 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009839/0.2853, allocations: 111.9 kB / 0.7076 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.2854, allocations: 48.42 kB / 0.7076 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-05/0.2855, allocations: 39.97 kB / 0.7076 GB, free: 6.094 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001018/0.2865, allocations: 0.7638 MB / 0.7084 GB, free: 5.324 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2865, allocations: 4 kB / 0.7084 GB, free: 5.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001134/0.2876, allocations: 339.5 kB / 0.7087 GB, free: 4.988 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.001602/0.2893, allocations: 0.6593 MB / 0.7094 GB, free: 4.484 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003285/0.2926, allocations: 1.107 MB / 0.7104 GB, free: 3.379 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.2926, allocations: 4 kB / 0.7104 GB, free: 3.375 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.2943, allocations: 0.5814 MB / 0.711 GB, free: 2.797 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.2965, allocations: 455.3 kB / 0.7114 GB, free: 2.367 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/0.3017, allocations: 2.379 MB / 0.7138 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007868/0.3025, allocations: 1.104 MB / 0.7148 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004173/0.3029, allocations: 119.4 kB / 0.715 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/0.3029, allocations: 0 / 0.715 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.03019/0.3331, allocations: 19.31 MB / 0.7338 GB, free: 11.52 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)