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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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: "" <> 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.001149/0.001149, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.641/2.641, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.58 kB / 0.8992 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.277, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2033/0.4804, allocations: 193.8 MB / 1.242 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008861/0.4893, allocations: 5.148 MB / 1.247 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.4909, allocations: 51.69 kB / 1.247 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.5828/1.074, allocations: 0.7974 MB / 1.248 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006441/1.08, allocations: 2.604 MB / 1.251 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002608/1.083, allocations: 1.111 MB / 1.252 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003164/1.086, allocations: 2.672 MB / 1.254 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/1.088, allocations: 0.9355 MB / 1.255 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00192/1.089, allocations: 1.098 MB / 1.256 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/1.091, allocations: 0.9942 MB / 1.257 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/1.091, allocations: 86.53 kB / 1.257 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/1.094, allocations: 1.787 MB / 1.259 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000478/1.095, allocations: 448.3 kB / 1.259 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007243/1.095, allocations: 0.6661 MB / 1.26 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003097/1.098, allocations: 2.173 MB / 1.262 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/1.098, allocations: 0 / 1.262 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/1.098, allocations: 0.8125 kB / 1.262 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.002e-05/1.098, allocations: 0 / 1.262 GB, free: 2.652 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.005586/1.104, allocations: 1.965 MB / 1.264 GB, free: 17.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.104, allocations: 10.75 kB / 1.264 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001925/1.104, allocations: 141.3 kB / 1.264 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006328/1.111, allocations: 0.8936 MB / 1.265 GB, free: 17.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/1.112, allocations: 0.9098 MB / 1.266 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.778e-05/1.112, allocations: 67.84 kB / 1.266 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/1.113, allocations: 93.2 kB / 1.266 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004013/1.117, allocations: 1.582 MB / 1.268 GB, free: 17.08 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/1.117, allocations: 1.688 kB / 1.268 GB, free: 17.08 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/1.117, allocations: 37.88 kB / 1.268 GB, free: 17.08 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.364e-05/1.117, allocations: 50.02 kB / 1.268 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007366/1.124, allocations: 1.845 MB / 1.27 GB, free: 17.07 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.009039/1.133, allocations: 4.745 MB / 1.274 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004676/1.138, allocations: 1.577 MB / 1.276 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00269/1.141, allocations: 0.8565 MB / 1.277 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001691/1.142, allocations: 0.941 MB / 1.278 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002571/1.145, allocations: 0.9186 MB / 1.278 GB, free: 14.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=95): time 3.957e-06/1.145, allocations: 0 / 1.278 GB, free: 14.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=95): time 0.007923/1.153, allocations: 2.45 MB / 1.281 GB, free: 14.07 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/1.153, allocations: 61.81 kB / 1.281 GB, free: 14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/1.154, allocations: 1.198 MB / 1.282 GB, free: 13.85 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/1.155, allocations: 45.7 kB / 1.282 GB, free: 13.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/1.155, allocations: 0.5432 MB / 1.283 GB, free: 13.65 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/1.155, allocations: 328.5 kB / 1.283 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003112/1.155, allocations: 193.3 kB / 1.283 GB, free: 13.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.156, allocations: 343.2 kB / 1.284 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/1.158, allocations: 0.7016 MB / 1.284 GB, free: 13.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/1.16, allocations: 0.9037 MB / 1.285 GB, free: 12.94 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00403/1.164, allocations: 1.558 MB / 1.287 GB, free: 12.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.164, allocations: 1.375 kB / 1.287 GB, free: 12.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0047/1.169, allocations: 1.785 MB / 1.288 GB, free: 12.55 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.169, allocations: 6.562 kB / 1.288 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.169, allocations: 3.938 kB / 1.288 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/1.169, allocations: 10.88 kB / 1.288 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/1.17, allocations: 340.6 kB / 1.289 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/1.17, allocations: 10.91 kB / 1.289 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/1.172, allocations: 238.2 kB / 1.289 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/1.172, allocations: 46.27 kB / 1.289 GB, free: 12.48 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.0005836/1.173, allocations: 333 kB / 1.289 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/1.173, allocations: 142.4 kB / 1.289 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004816/1.178, allocations: 1.807 MB / 1.291 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/1.178, allocations: 12.41 kB / 1.291 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.178, allocations: 0 / 1.291 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/1.178, allocations: 3 kB / 1.291 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006712/1.185, allocations: 3.327 MB / 1.294 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/1.185, allocations: 6.125 kB / 1.294 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/1.186, allocations: 292.9 kB / 1.295 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.499e-05/1.186, allocations: 8.438 kB / 1.295 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.551e-05/1.186, allocations: 38.72 kB / 1.295 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/1.186, allocations: 9.344 kB / 1.295 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.186, allocations: 8.25 kB / 1.295 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006941/1.193, allocations: 2.838 MB / 1.298 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000664/1.194, allocations: 322.6 kB / 1.298 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002869/1.194, allocations: 28.59 kB / 1.298 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.196, allocations: 153.5 kB / 1.298 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/1.196, allocations: 71.92 kB / 1.298 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.462e-05/1.196, allocations: 42.23 kB / 1.298 GB, free: 11.01 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001158/1.197, allocations: 0.8378 MB / 1.299 GB, free: 10.89 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.197, allocations: 1.75 kB / 1.299 GB, free: 10.89 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001303/1.198, allocations: 338.7 kB / 1.299 GB, free: 10.87 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.009197/1.208, allocations: 3.821 MB / 1.303 GB, free: 9.809 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005509/1.213, allocations: 1.788 MB / 1.305 GB, free: 9.734 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/1.213, allocations: 2.406 kB / 1.305 GB, free: 9.734 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002395/1.216, allocations: 0.8386 MB / 1.306 GB, free: 9.711 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/1.219, allocations: 0.611 MB / 1.306 GB, free: 9.605 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02628/1.245, allocations: 12.88 MB / 1.319 GB, free: 5.262 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000914/1.246, allocations: 1.182 MB / 1.32 GB, free: 4.543 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001809/1.248, allocations: 371.4 kB / 1.32 GB, free: 4.441 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008363/1.249, allocations: 0.5034 MB / 1.321 GB, free: 4.434 MB / 1.014 GB Notification: Performance of SimCode: time 7.82e-07/1.249, allocations: 0 / 1.321 GB, free: 4.434 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.112/1.361, allocations: 35.32 MB / 1.355 GB, free: 15.43 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.455/9.816, allocations: 2.406 kB / 1.355 GB, free: 15.43 MB / 1.045 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)