Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.189/2.189, allocations: 391.2 MB / 407 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 183.5 kB / 499.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 113.9 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 52.28 kB / 1.081 GB, free: 218.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3255, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1951/0.5207, allocations: 191.5 MB / 1.405 GB, free: 4.969 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00957/0.5303, allocations: 5.192 MB / 1.41 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.5322, allocations: 47.62 kB / 1.41 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.5351, allocations: 0.7194 MB / 1.411 GB, free: 15 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.008854/0.544, allocations: 2.448 MB / 1.413 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.003566/0.5476, allocations: 1.008 MB / 1.414 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.004911/0.5526, allocations: 3.619 MB / 1.418 GB, free: 7.914 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/0.5543, allocations: 0.869 MB / 1.419 GB, free: 7.031 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.557, allocations: 1.031 MB / 1.42 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00211/0.5592, allocations: 1.027 MB / 1.421 GB, free: 4.965 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002185/0.5594, allocations: 56 kB / 1.421 GB, free: 4.91 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004334/0.5638, allocations: 2.069 MB / 1.423 GB, free: 2.836 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0005481/0.5643, allocations: 430.6 kB / 1.423 GB, free: 2.414 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0009301/0.5653, allocations: 0.6408 MB / 1.424 GB, free: 1.77 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.741/1.306, allocations: 2.255 MB / 1.426 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/1.306, allocations: 0 / 1.426 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.475e-06/1.306, allocations: 0 / 1.426 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.022e-05/1.306, allocations: 1 kB / 1.426 GB, free: 10.16 MB / 0.9167 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.006084/1.312, allocations: 1.961 MB / 1.428 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/1.313, allocations: 14.12 kB / 1.428 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005978/1.319, allocations: 0.9017 MB / 1.429 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/1.321, allocations: 0.9011 MB / 1.43 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.655e-05/1.321, allocations: 64.58 kB / 1.43 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/1.321, allocations: 96.05 kB / 1.43 GB, free: 8.859 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004586/1.326, allocations: 1.585 MB / 1.431 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/1.326, allocations: 3.469 kB / 1.431 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/1.326, allocations: 40.19 kB / 1.431 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.072e-05/1.326, allocations: 48.86 kB / 1.432 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006317/1.332, allocations: 1.845 MB / 1.433 GB, free: 8.664 MB / 0.9167 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.01019/1.343, allocations: 4.732 MB / 1.438 GB, free: 6.793 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004984/1.348, allocations: 1.57 MB / 1.439 GB, free: 6.723 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00263/1.35, allocations: 0.8459 MB / 1.44 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001386/1.352, allocations: 0.944 MB / 1.441 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002954/1.355, allocations: 0.9106 MB / 1.442 GB, free: 5.68 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=95): time 6.742e-06/1.355, allocations: 0.5625 kB / 1.442 GB, free: 5.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=95): time 0.00944/1.364, allocations: 2.455 MB / 1.445 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/1.364, allocations: 62.2 kB / 1.445 GB, free: 5.453 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002733/1.367, allocations: 1.198 MB / 1.446 GB, free: 5.301 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000214/1.367, allocations: 48.7 kB / 1.446 GB, free: 5.27 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007265/1.368, allocations: 0.5454 MB / 1.446 GB, free: 5.098 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004454/1.368, allocations: 330 kB / 1.447 GB, free: 4.895 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004705/1.369, allocations: 186.7 kB / 1.447 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.369, allocations: 341.9 kB / 1.447 GB, free: 4.574 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002515/1.371, allocations: 0.7011 MB / 1.448 GB, free: 4.555 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/1.374, allocations: 0.9113 MB / 1.449 GB, free: 4.352 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004265/1.378, allocations: 1.552 MB / 1.45 GB, free: 4.141 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/1.378, allocations: 1.625 kB / 1.45 GB, free: 4.141 MB / 0.9167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005311/1.383, allocations: 1.783 MB / 1.452 GB, free: 3.973 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/1.383, allocations: 8.188 kB / 1.452 GB, free: 3.973 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/1.383, allocations: 4.75 kB / 1.452 GB, free: 3.973 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/1.383, allocations: 11.66 kB / 1.452 GB, free: 3.973 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/1.385, allocations: 338.3 kB / 1.452 GB, free: 3.965 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/1.385, allocations: 14.69 kB / 1.452 GB, free: 3.965 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/1.387, allocations: 255.5 kB / 1.453 GB, free: 3.898 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/1.387, allocations: 46.39 kB / 1.453 GB, free: 3.898 MB / 0.9167 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.0006526/1.388, allocations: 338 kB / 1.453 GB, free: 3.773 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/1.388, allocations: 134.8 kB / 1.453 GB, free: 3.703 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004995/1.393, allocations: 1.8 MB / 1.455 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.393, allocations: 10.22 kB / 1.455 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.393, allocations: 0 / 1.455 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/1.393, allocations: 7.859 kB / 1.455 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007286/1.401, allocations: 3.325 MB / 1.458 GB, free: 3.066 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/1.401, allocations: 2.5 kB / 1.458 GB, free: 3.066 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/1.402, allocations: 301.7 kB / 1.458 GB, free: 3.051 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/1.402, allocations: 7.688 kB / 1.458 GB, free: 3.051 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/1.402, allocations: 33.89 kB / 1.458 GB, free: 3.051 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/1.402, allocations: 10.41 kB / 1.458 GB, free: 3.051 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/1.402, allocations: 8.906 kB / 1.458 GB, free: 3.051 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01449/1.417, allocations: 6.762 MB / 1.465 GB, free: 16.77 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007674/1.418, allocations: 318.3 kB / 1.465 GB, free: 16.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/1.418, allocations: 31.2 kB / 1.465 GB, free: 16.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/1.42, allocations: 172.6 kB / 1.466 GB, free: 16.58 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/1.42, allocations: 75.14 kB / 1.466 GB, free: 16.57 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.777e-05/1.42, allocations: 39.19 kB / 1.466 GB, free: 16.57 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009897/1.421, allocations: 0.8295 MB / 1.466 GB, free: 16.46 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/1.421, allocations: 0 / 1.466 GB, free: 16.46 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001443/1.422, allocations: 429.4 kB / 1.467 GB, free: 16.45 MB / 0.9323 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.001284/1.424, allocations: 0.5321 MB / 1.467 GB, free: 16.27 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004578/1.428, allocations: 1.626 MB / 1.469 GB, free: 16.21 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.428, allocations: 0 / 1.469 GB, free: 16.21 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002229/1.43, allocations: 0.8377 MB / 1.47 GB, free: 16.18 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002949/1.433, allocations: 0.5897 MB / 1.47 GB, free: 16.13 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006705/1.44, allocations: 3.904 MB / 1.474 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009146/1.441, allocations: 1.213 MB / 1.475 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001949/1.443, allocations: 369.1 kB / 1.476 GB, free: 13.51 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004572/1.444, allocations: 117.8 kB / 1.476 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of SimCode: time 9.92e-07/1.444, allocations: 0 / 1.476 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.04846/1.492, allocations: 23.55 MB / 1.499 GB, free: 7.484 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)