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.001003/0.001003, allocations: 108.7 kB / 16.41 MB, free: 6.477 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.001148/0.001148, allocations: 193.2 kB / 17.34 MB, free: 5.75 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.289/1.289, allocations: 222.9 MB / 241 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.6968/0.6968, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 61.98 kB / 0.5577 GB, free: 32.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1377, allocations: 76.18 MB / 0.6321 GB, free: 4.293 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02683/0.1646, allocations: 29.32 MB / 0.6607 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009232/0.1739, allocations: 6.874 MB / 0.6674 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008435/0.1747, allocations: 47.69 kB / 0.6675 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.1761, allocations: 0.6953 MB / 0.6682 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002859/0.179, allocations: 1.45 MB / 0.6696 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.1813, allocations: 1.155 MB / 0.6707 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002543/0.1839, allocations: 2.473 MB / 0.6731 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009839/0.1849, allocations: 0.7981 MB / 0.6739 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.1864, allocations: 1.047 MB / 0.6749 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008961/0.1873, allocations: 0.813 MB / 0.6757 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.1875, allocations: 71.92 kB / 0.6758 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.189, allocations: 0.8188 MB / 0.6766 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002493/0.1892, allocations: 275 kB / 0.6769 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004447/0.1897, allocations: 0.5476 MB / 0.6774 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.1915, allocations: 1.616 MB / 0.679 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1915, allocations: 3.938 kB / 0.679 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1915, allocations: 0 / 0.679 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.1915, allocations: 0 / 0.679 GB, free: 4.121 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.002386/0.1939, allocations: 1.574 MB / 0.6805 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.194, allocations: 8.031 kB / 0.6805 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/0.1973, allocations: 0.5845 MB / 0.6811 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.1986, allocations: 0.8681 MB / 0.6819 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.1987, allocations: 54.38 kB / 0.682 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.1988, allocations: 83.92 kB / 0.6821 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/0.2011, allocations: 1.092 MB / 0.6831 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.2011, allocations: 4 kB / 0.6831 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.341e-05/0.2012, allocations: 28 kB / 0.6832 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.2012, allocations: 20 kB / 0.6832 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002847/0.2041, allocations: 1.008 MB / 0.6842 GB, free: 14.61 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.005093/0.2092, allocations: 4.95 MB / 0.689 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/0.2119, allocations: 0.9012 MB / 0.6899 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.2133, allocations: 495.1 kB / 0.6904 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/0.2146, allocations: 1.583 MB / 0.6919 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001561/0.2162, allocations: 0.5768 MB / 0.6925 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 4.248e-06/0.2162, allocations: 0 / 0.6925 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.004451/0.2207, allocations: 1.489 MB / 0.6939 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.2207, allocations: 55.97 kB / 0.694 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.222, allocations: 1.12 MB / 0.6951 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.072e-05/0.222, allocations: 37.7 kB / 0.6951 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000407/0.2225, allocations: 0.5473 MB / 0.6956 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.2226, allocations: 209 kB / 0.6958 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.2229, allocations: 166.5 kB / 0.696 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.223, allocations: 334 kB / 0.6963 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.2244, allocations: 461.6 kB / 0.6967 GB, free: 1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.2259, allocations: 0.7049 MB / 0.6974 GB, free: 184 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002864/0.2288, allocations: 1.117 MB / 0.6985 GB, free: 14.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.2288, allocations: 4 kB / 0.6985 GB, free: 14.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003251/0.2321, allocations: 1.278 MB / 0.6998 GB, free: 13.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2321, allocations: 8 kB / 0.6998 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.2321, allocations: 8 kB / 0.6998 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.2322, allocations: 12 kB / 0.6998 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.2333, allocations: 267.8 kB / 0.7001 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.2333, allocations: 19.94 kB / 0.7001 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.2344, allocations: 178.9 kB / 0.7003 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.287e-05/0.2344, allocations: 43.98 kB / 0.7003 GB, free: 13.14 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.0003777/0.2348, allocations: 295.8 kB / 0.7006 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.235, allocations: 122.5 kB / 0.7007 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003472/0.2385, allocations: 1.363 MB / 0.702 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.2385, allocations: 11.98 kB / 0.702 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2385, allocations: 0 / 0.702 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.2385, allocations: 3.984 kB / 0.702 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004473/0.243, allocations: 2.374 MB / 0.7044 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.243, allocations: 192 / 0.7044 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009463/0.244, allocations: 187.8 kB / 0.7045 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.413e-06/0.244, allocations: 4 kB / 0.7045 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.526e-05/0.2441, allocations: 27.91 kB / 0.7046 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/0.2441, allocations: 7.938 kB / 0.7046 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/0.2441, allocations: 4 kB / 0.7046 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004726/0.2488, allocations: 1.981 MB / 0.7065 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/0.2492, allocations: 271.4 kB / 0.7068 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.2493, allocations: 20 kB / 0.7068 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008716/0.2502, allocations: 115.8 kB / 0.7069 GB, free: 6.227 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-05/0.2503, allocations: 48.44 kB / 0.7069 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.351e-05/0.2504, allocations: 35.97 kB / 0.707 GB, free: 6.141 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008118/0.2512, allocations: 0.7638 MB / 0.7077 GB, free: 5.371 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2512, allocations: 0 / 0.7077 GB, free: 5.371 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009502/0.2522, allocations: 343.5 kB / 0.7081 GB, free: 5.035 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.001351/0.2535, allocations: 0.6641 MB / 0.7087 GB, free: 4.531 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003037/0.2566, allocations: 1.114 MB / 0.7098 GB, free: 3.418 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2566, allocations: 0 / 0.7098 GB, free: 3.418 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.2581, allocations: 0.5736 MB / 0.7104 GB, free: 2.848 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.2599, allocations: 451.3 kB / 0.7108 GB, free: 2.414 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.2641, allocations: 2.33 MB / 0.7131 GB, free: 40 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.2648, allocations: 1.104 MB / 0.7141 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007524/0.2655, allocations: 252.6 kB / 0.7144 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.2658, allocations: 103.4 kB / 0.7145 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of SimCode: time 5.92e-07/0.2658, allocations: 0 / 0.7145 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of Templates: time 0.03183/0.2976, allocations: 20.02 MB / 0.734 GB, free: 10.77 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)