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/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009496/0.0009498, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006635/0.006635, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.831/2.831, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003866, allocations: 12.53 kB / 0.9029 GB, free: 36.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3641, allocations: 159.6 MB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2211/0.5852, allocations: 189 MB / 1.243 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01238/0.5977, allocations: 5.141 MB / 1.248 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.5994, allocations: 39.69 kB / 1.248 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.6017, allocations: 0.7155 MB / 1.249 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.6048/1.207, allocations: 2.441 MB / 1.251 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003463/1.21, allocations: 1.002 MB / 1.252 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00661/1.217, allocations: 3.613 MB / 1.256 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00193/1.219, allocations: 0.8463 MB / 1.257 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002378/1.221, allocations: 1.004 MB / 1.258 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/1.223, allocations: 1.003 MB / 1.259 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/1.223, allocations: 47.31 kB / 1.259 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004295/1.227, allocations: 2.07 MB / 1.261 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007276/1.228, allocations: 411.5 kB / 1.261 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001145/1.229, allocations: 0.6477 MB / 1.262 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004782/1.234, allocations: 2.241 MB / 1.264 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/1.234, allocations: 2.906 kB / 1.264 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.044e-06/1.234, allocations: 0 / 1.264 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.212e-05/1.234, allocations: 0 / 1.264 GB, free: 3.664 MB / 0.9981 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.005484/1.239, allocations: 1.705 MB / 1.266 GB, free: 18.76 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/1.24, allocations: 13.41 kB / 1.266 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000253/1.24, allocations: 141.6 kB / 1.266 GB, free: 18.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006077/1.246, allocations: 0.9234 MB / 1.267 GB, free: 18.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/1.248, allocations: 0.9128 MB / 1.268 GB, free: 18.21 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.014e-05/1.248, allocations: 67.25 kB / 1.268 GB, free: 18.21 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/1.248, allocations: 90.09 kB / 1.268 GB, free: 18.21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004145/1.252, allocations: 1.58 MB / 1.269 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/1.252, allocations: 0.5938 kB / 1.269 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/1.252, allocations: 36.08 kB / 1.269 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-05/1.253, allocations: 49.2 kB / 1.269 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006159/1.259, allocations: 1.845 MB / 1.271 GB, free: 18.03 MB / 1.014 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.008426/1.267, allocations: 4.753 MB / 1.276 GB, free: 16.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004273/1.271, allocations: 1.588 MB / 1.277 GB, free: 16.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002256/1.274, allocations: 0.8521 MB / 1.278 GB, free: 16.06 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/1.275, allocations: 0.9629 MB / 1.279 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002508/1.278, allocations: 0.9122 MB / 1.28 GB, free: 15.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=95): time 3.116e-06/1.278, allocations: 0 / 1.28 GB, free: 15.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=95): time 0.007838/1.285, allocations: 2.449 MB / 1.282 GB, free: 14.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/1.285, allocations: 61.88 kB / 1.283 GB, free: 14.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/1.287, allocations: 1.204 MB / 1.284 GB, free: 14.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/1.287, allocations: 47.14 kB / 1.284 GB, free: 14.63 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004928/1.288, allocations: 0.5347 MB / 1.284 GB, free: 14.47 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/1.288, allocations: 327 kB / 1.285 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/1.288, allocations: 81.48 kB / 1.285 GB, free: 14.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.288, allocations: 345.6 kB / 1.285 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/1.291, allocations: 0.6948 MB / 1.286 GB, free: 13.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/1.293, allocations: 0.9103 MB / 1.287 GB, free: 13.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004375/1.297, allocations: 1.553 MB / 1.288 GB, free: 13.53 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/1.297, allocations: 2.312 kB / 1.288 GB, free: 13.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005112/1.303, allocations: 1.775 MB / 1.29 GB, free: 13.37 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/1.303, allocations: 8.203 kB / 1.29 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/1.303, allocations: 7.281 kB / 1.29 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.145e-05/1.303, allocations: 8.562 kB / 1.29 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/1.304, allocations: 342.6 kB / 1.29 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/1.304, allocations: 12.62 kB / 1.29 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/1.306, allocations: 255.1 kB / 1.29 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.307, allocations: 47.64 kB / 1.29 GB, free: 13.29 MB / 1.014 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.0007417/1.307, allocations: 332.4 kB / 1.291 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/1.308, allocations: 144.5 kB / 1.291 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004997/1.313, allocations: 1.795 MB / 1.293 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/1.313, allocations: 9 kB / 1.293 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.313, allocations: 0 / 1.293 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/1.313, allocations: 11.25 kB / 1.293 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007268/1.32, allocations: 3.334 MB / 1.296 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/1.32, allocations: 3.031 kB / 1.296 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/1.322, allocations: 289.8 kB / 1.296 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/1.322, allocations: 8 kB / 1.296 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.731e-05/1.322, allocations: 34.77 kB / 1.296 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/1.322, allocations: 9.531 kB / 1.296 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.322, allocations: 7.906 kB / 1.296 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006824/1.328, allocations: 2.841 MB / 1.299 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009262/1.329, allocations: 324.2 kB / 1.299 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/1.33, allocations: 25.72 kB / 1.299 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/1.331, allocations: 171.6 kB / 1.3 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/1.331, allocations: 76.3 kB / 1.3 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.143e-05/1.331, allocations: 45.17 kB / 1.3 GB, free: 11.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00092/1.332, allocations: 0.8365 MB / 1.3 GB, free: 11.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.21e-07/1.332, allocations: 0 / 1.3 GB, free: 11.71 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001025/1.333, allocations: 336.9 kB / 1.301 GB, free: 11.69 MB / 1.014 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.008083/1.341, allocations: 3.819 MB / 1.305 GB, free: 10.63 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004423/1.346, allocations: 1.621 MB / 1.306 GB, free: 10.58 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.346, allocations: 256 / 1.306 GB, free: 10.58 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002189/1.348, allocations: 0.8348 MB / 1.307 GB, free: 10.56 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003459/1.352, allocations: 0.5803 MB / 1.308 GB, free: 10.51 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02589/1.377, allocations: 13.34 MB / 1.321 GB, free: 5.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007183/1.378, allocations: 1.19 MB / 1.322 GB, free: 5.023 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001793/1.38, allocations: 357.7 kB / 1.322 GB, free: 4.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007454/1.381, allocations: 0.5033 MB / 1.323 GB, free: 4.926 MB / 1.014 GB Notification: Performance of SimCode: time 6.61e-07/1.381, allocations: 0 / 1.323 GB, free: 4.926 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05669/1.437, allocations: 33.69 MB / 1.355 GB, free: 2.32 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.02563/1.463, allocations: 256.4 kB / 1.356 GB, free: 2.062 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.692/4.156, allocations: 0 / 1.356 GB, free: 2.062 MB / 1.029 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)