Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 105.4 kB / 15.99 MB, free: 5.891 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.001439/0.001439, allocations: 187.5 kB / 16.9 MB, free: 5.746 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.301/1.301, allocations: 222.9 MB / 240.6 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002392/0.002392, allocations: 290.1 kB / 291 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.107/1.107, allocations: 178.6 MB / 0.5076 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002589/0.002589, allocations: 99.84 kB / 0.6066 GB, free: 9.609 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1663, allocations: 89.14 MB / 0.6936 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4154/0.5817, allocations: 191.3 MB / 0.8804 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008509/0.5903, allocations: 5.124 MB / 0.8854 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007937/0.5911, allocations: 43.69 kB / 0.8855 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.5927, allocations: 0.7311 MB / 0.8862 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005226/0.598, allocations: 2.445 MB / 0.8886 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.6002, allocations: 1.019 MB / 0.8896 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002944/0.6032, allocations: 2.699 MB / 0.8922 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.6044, allocations: 0.9366 MB / 0.8931 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.6061, allocations: 1.14 MB / 0.8942 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.6073, allocations: 1.051 MB / 0.8953 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.6075, allocations: 88 kB / 0.8954 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.6104, allocations: 1.858 MB / 0.8972 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004506/0.6109, allocations: 454.6 kB / 0.8976 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000664/0.6116, allocations: 0.6648 MB / 0.8982 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001891/0.6135, allocations: 1.571 MB / 0.8998 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6135, allocations: 0 / 0.8998 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6135, allocations: 0 / 0.8998 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.6135, allocations: 0 / 0.8998 GB, free: 7.324 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004763/0.6183, allocations: 1.953 MB / 0.9017 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.6183, allocations: 12.03 kB / 0.9017 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005396/0.6237, allocations: 0.896 MB / 0.9026 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.6251, allocations: 0.902 MB / 0.9035 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-05/0.6252, allocations: 73.97 kB / 0.9035 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.6254, allocations: 91.91 kB / 0.9036 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003641/0.629, allocations: 1.587 MB / 0.9052 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.629, allocations: 0 / 0.9052 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.6292, allocations: 40.56 kB / 0.9052 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.223e-05/0.6292, allocations: 45.98 kB / 0.9052 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005078/0.6343, allocations: 1.846 MB / 0.9071 GB, free: 15.74 MB / 0.67 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.007339/0.6417, allocations: 4.741 MB / 0.9117 GB, free: 10.77 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00429/0.646, allocations: 1.571 MB / 0.9132 GB, free: 9.199 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002263/0.6482, allocations: 0.843 MB / 0.914 GB, free: 8.352 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.6496, allocations: 0.9452 MB / 0.915 GB, free: 7.223 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002465/0.6521, allocations: 0.9154 MB / 0.9159 GB, free: 6.293 MB / 0.67 GB Notification: Performance of pre-optimization done (n=95): time 2.725e-06/0.6521, allocations: 0 / 0.9159 GB, free: 6.293 MB / 0.67 GB Notification: Performance of matching and sorting (n=95): time 0.007498/0.6596, allocations: 2.458 MB / 0.9183 GB, free: 3.828 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.6596, allocations: 60.41 kB / 0.9183 GB, free: 3.758 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.661, allocations: 1.197 MB / 0.9195 GB, free: 2.551 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.852e-05/0.6611, allocations: 45.7 kB / 0.9195 GB, free: 2.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/0.6616, allocations: 0.5447 MB / 0.9201 GB, free: 1.949 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/0.6619, allocations: 323.3 kB / 0.9204 GB, free: 1.629 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003513/0.6623, allocations: 190.6 kB / 0.9205 GB, free: 1.438 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.6624, allocations: 341.9 kB / 0.9209 GB, free: 1.098 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002119/0.6646, allocations: 0.7005 MB / 0.9216 GB, free: 404 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002319/0.6669, allocations: 0.9113 MB / 0.9224 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004225/0.6711, allocations: 1.546 MB / 0.924 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.6711, allocations: 8 kB / 0.924 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004798/0.6759, allocations: 1.78 MB / 0.9257 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.676, allocations: 6 kB / 0.9257 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.676, allocations: 8 kB / 0.9257 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.676, allocations: 12.5 kB / 0.9257 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.6778, allocations: 339.5 kB / 0.9261 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.6778, allocations: 12.7 kB / 0.9261 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.6794, allocations: 255.3 kB / 0.9263 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.6795, allocations: 47.97 kB / 0.9264 GB, free: 11.35 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0005201/0.68, allocations: 336.3 kB / 0.9267 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.6802, allocations: 135.2 kB / 0.9268 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005113/0.6854, allocations: 1.808 MB / 0.9286 GB, free: 9.062 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.6854, allocations: 8 kB / 0.9286 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6854, allocations: 0 / 0.9286 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.6854, allocations: 7.922 kB / 0.9286 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007148/0.6926, allocations: 3.336 MB / 0.9318 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.6926, allocations: 7.984 kB / 0.9319 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/0.6942, allocations: 288 kB / 0.9321 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.6942, allocations: 12 kB / 0.9321 GB, free: 5.309 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-05/0.6943, allocations: 31.97 kB / 0.9322 GB, free: 5.277 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.6943, allocations: 8 kB / 0.9322 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/0.6944, allocations: 7.938 kB / 0.9322 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007166/0.7015, allocations: 2.839 MB / 0.935 GB, free: 2.355 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004891/0.702, allocations: 319.2 kB / 0.9353 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.7022, allocations: 27.98 kB / 0.9353 GB, free: 1.996 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.7036, allocations: 183.6 kB / 0.9355 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.7038, allocations: 68.45 kB / 0.9355 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-05/0.7039, allocations: 43.97 kB / 0.9356 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001002/0.7049, allocations: 0.8353 MB / 0.9364 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7049, allocations: 0 / 0.9364 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009276/0.7059, allocations: 335.7 kB / 0.9367 GB, free: 0.5352 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001737/0.7076, allocations: 0.5298 MB / 0.9372 GB, free: 192 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005147/0.7128, allocations: 1.786 MB / 0.939 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7128, allocations: 0 / 0.939 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002319/0.7151, allocations: 0.8399 MB / 0.9398 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.7177, allocations: 0.6197 MB / 0.9404 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006102/0.7238, allocations: 3.466 MB / 0.9438 GB, free: 9.414 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008242/0.7246, allocations: 1.189 MB / 0.9449 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005594/0.7252, allocations: 131.3 kB / 0.9451 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of SimCode: time 3.2e-07/0.7252, allocations: 0 / 0.9451 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of Templates: time 0.0294/0.7546, allocations: 21.59 MB / 0.9661 GB, free: 2.641 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)