Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 106.6 kB / 18.32 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 190 kB / 21.5 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 250.1 MB, free: 13.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002609/0.002609, allocations: 297.5 kB / 305.5 MB, free: 8.766 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.227/1.227, allocations: 180.9 MB / 0.5288 GB, free: 14.57 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002769/0.002769, allocations: 106 kB / 0.7291 GB, free: 39.47 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1782, allocations: 94.16 MB / 0.821 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03473/0.2129, allocations: 29.82 MB / 0.8501 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01137/0.2243, allocations: 6.917 MB / 0.8569 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.2255, allocations: 51.62 kB / 0.8569 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.2272, allocations: 0.7109 MB / 0.8576 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003784/0.2309, allocations: 1.509 MB / 0.8591 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00296/0.2339, allocations: 1.169 MB / 0.8603 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003344/0.2372, allocations: 2.485 MB / 0.8627 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.2383, allocations: 0.6576 MB / 0.8633 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.2401, allocations: 1.051 MB / 0.8644 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.2412, allocations: 0.8675 MB / 0.8652 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.2413, allocations: 68 kB / 0.8653 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.2431, allocations: 0.846 MB / 0.8661 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003002/0.2434, allocations: 286.8 kB / 0.8664 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005982/0.244, allocations: 0.5475 MB / 0.8669 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.2462, allocations: 1.626 MB / 0.8685 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2462, allocations: 0 / 0.8685 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2462, allocations: 0 / 0.8685 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.2462, allocations: 4 kB / 0.8685 GB, free: 2.293 MB / 0.6075 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.002701/0.2489, allocations: 1.613 MB / 0.8701 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.249, allocations: 8.031 kB / 0.8701 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0036/0.2526, allocations: 0.6009 MB / 0.8707 GB, free: 16 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.2541, allocations: 0.8769 MB / 0.8715 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/0.2542, allocations: 54.38 kB / 0.8716 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.2543, allocations: 83.88 kB / 0.8716 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/0.2569, allocations: 1.099 MB / 0.8727 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.2569, allocations: 3.938 kB / 0.8727 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.16e-05/0.257, allocations: 32 kB / 0.8728 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.257, allocations: 20 kB / 0.8728 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003124/0.2601, allocations: 1 MB / 0.8738 GB, free: 12.71 MB / 0.6231 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.00711/0.2672, allocations: 4.944 MB / 0.8786 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/0.2702, allocations: 0.8707 MB / 0.8794 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.2716, allocations: 474.4 kB / 0.8799 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/0.2732, allocations: 1.583 MB / 0.8814 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00169/0.2749, allocations: 0.5729 MB / 0.882 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=61): time 2.865e-06/0.2749, allocations: 0 / 0.882 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of matching and sorting (n=61): time 0.004952/0.2799, allocations: 1.489 MB / 0.8834 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.2799, allocations: 63.97 kB / 0.8835 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.2814, allocations: 1.116 MB / 0.8846 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-05/0.2815, allocations: 41.7 kB / 0.8846 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005123/0.282, allocations: 0.552 MB / 0.8852 GB, free: 320 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.2822, allocations: 218.2 kB / 0.8854 GB, free: 100 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/0.2825, allocations: 166.6 kB / 0.8855 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.2827, allocations: 337.9 kB / 0.8859 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.2842, allocations: 453.6 kB / 0.8863 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.2859, allocations: 0.7167 MB / 0.887 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003045/0.289, allocations: 1.117 MB / 0.8881 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.289, allocations: 0 / 0.8881 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003699/0.2927, allocations: 1.282 MB / 0.8893 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.2927, allocations: 8 kB / 0.8893 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.2927, allocations: 8 kB / 0.8894 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/0.2927, allocations: 12 kB / 0.8894 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.294, allocations: 276.3 kB / 0.8896 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.294, allocations: 11.94 kB / 0.8896 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.2952, allocations: 187.2 kB / 0.8898 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.2953, allocations: 43.97 kB / 0.8899 GB, free: 11.27 MB / 0.6387 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.0004835/0.2958, allocations: 291.7 kB / 0.8901 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.296, allocations: 131.1 kB / 0.8903 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004054/0.3001, allocations: 1.395 MB / 0.8916 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.3001, allocations: 11.98 kB / 0.8916 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3001, allocations: 0 / 0.8916 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.3001, allocations: 3.984 kB / 0.8916 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00536/0.3055, allocations: 2.397 MB / 0.894 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.3055, allocations: 0 / 0.894 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.3066, allocations: 191.9 kB / 0.8942 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.3066, allocations: 8.094 kB / 0.8942 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.616e-05/0.3067, allocations: 27.91 kB / 0.8942 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/0.3067, allocations: 4 kB / 0.8942 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3067, allocations: 7.938 kB / 0.8942 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005426/0.3121, allocations: 1.996 MB / 0.8962 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005076/0.3126, allocations: 292.1 kB / 0.8964 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.3128, allocations: 23.98 kB / 0.8965 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000981/0.3138, allocations: 107.9 kB / 0.8966 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.3139, allocations: 52.38 kB / 0.8966 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/0.314, allocations: 43.97 kB / 0.8967 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001014/0.315, allocations: 0.7599 MB / 0.8974 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.315, allocations: 0 / 0.8974 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001123/0.3161, allocations: 347.4 kB / 0.8977 GB, free: 3.062 MB / 0.6387 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 (73): * Single equations (assignments): 58 * 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.00212/0.3182, allocations: 0.6596 MB / 0.8984 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003563/0.3218, allocations: 1.091 MB / 0.8994 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3218, allocations: 0 / 0.8994 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.3236, allocations: 0.5501 MB / 0.9 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.3259, allocations: 456.3 kB / 0.9004 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005861/0.3317, allocations: 2.402 MB / 0.9028 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009638/0.3327, allocations: 1.104 MB / 0.9038 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001091/0.3338, allocations: 252.8 kB / 0.9041 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.3342, allocations: 103.4 kB / 0.9042 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of SimCode: time 1.092e-06/0.3342, allocations: 0 / 0.9042 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of Templates: time 0.04082/0.375, allocations: 20.49 MB / 0.9242 GB, free: 8.375 MB / 0.67 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.1058140310051385]