Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.001236/0.001236, allocations: 108 kB / 15.61 MB, free: 152 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.001339/0.001339, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.753/2.753, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 68.94 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.26, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1814/0.4415, allocations: 193.8 MB / 1.242 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008212/0.4497, allocations: 5.136 MB / 1.247 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.4508, allocations: 51.62 kB / 1.247 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.5303/0.9812, allocations: 0.8124 MB / 1.248 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005928/0.9872, allocations: 2.597 MB / 1.251 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002409/0.9896, allocations: 1.108 MB / 1.252 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003537/0.9931, allocations: 2.603 MB / 1.254 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.9946, allocations: 0.8897 MB / 1.255 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002234/0.9969, allocations: 1.079 MB / 1.256 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.9984, allocations: 0.9448 MB / 1.257 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.9986, allocations: 79.03 kB / 1.257 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003311/1.002, allocations: 1.785 MB / 1.259 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006046/1.003, allocations: 433.3 kB / 1.259 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009572/1.004, allocations: 0.6418 MB / 1.26 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004328/1.008, allocations: 2.117 MB / 1.262 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.008, allocations: 3.094 kB / 1.262 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/1.008, allocations: 0 / 1.262 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.607e-05/1.008, allocations: 1.672 kB / 1.262 GB, free: 2.641 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005685/1.014, allocations: 1.926 MB / 1.264 GB, free: 17.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/1.014, allocations: 10.19 kB / 1.264 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002017/1.014, allocations: 140.9 kB / 1.264 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004374/1.018, allocations: 0.6652 MB / 1.265 GB, free: 17.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002509/1.021, allocations: 0.8707 MB / 1.265 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.93e-05/1.021, allocations: 68.89 kB / 1.266 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003251/1.021, allocations: 94 kB / 1.266 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004008/1.025, allocations: 1.473 MB / 1.267 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/1.025, allocations: 9.859 kB / 1.267 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/1.025, allocations: 35.06 kB / 1.267 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.057e-05/1.026, allocations: 48.3 kB / 1.267 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004781/1.03, allocations: 1.521 MB / 1.269 GB, free: 16.96 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.009368/1.04, allocations: 5.494 MB / 1.274 GB, free: 13.99 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003897/1.044, allocations: 1.276 MB / 1.275 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/1.045, allocations: 0.6617 MB / 1.276 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009326/1.046, allocations: 0.5776 MB / 1.276 GB, free: 13.4 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001989/1.048, allocations: 0.707 MB / 1.277 GB, free: 13.35 MB / 1.014 GB Notification: Performance of pre-optimization done (n=80): time 4.588e-06/1.048, allocations: 0 / 1.277 GB, free: 13.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=80): time 0.005912/1.054, allocations: 1.88 MB / 1.279 GB, free: 13.22 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/1.054, allocations: 59.5 kB / 1.279 GB, free: 13.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/1.056, allocations: 1.239 MB / 1.28 GB, free: 13 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/1.056, allocations: 43.64 kB / 1.28 GB, free: 12.97 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004261/1.057, allocations: 0.5845 MB / 1.281 GB, free: 12.78 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/1.057, allocations: 274.9 kB / 1.281 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003274/1.057, allocations: 184 kB / 1.281 GB, free: 12.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.058, allocations: 344.6 kB / 1.282 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/1.059, allocations: 0.5355 MB / 1.282 GB, free: 12.29 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/1.061, allocations: 0.8239 MB / 1.283 GB, free: 12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003587/1.065, allocations: 1.326 MB / 1.284 GB, free: 11.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.508e-05/1.065, allocations: 4.469 kB / 1.284 GB, free: 11.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004367/1.069, allocations: 1.496 MB / 1.286 GB, free: 11.61 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/1.069, allocations: 7.938 kB / 1.286 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/1.069, allocations: 13.03 kB / 1.286 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/1.069, allocations: 12.62 kB / 1.286 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/1.071, allocations: 297.5 kB / 1.286 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.662e-05/1.071, allocations: 14.94 kB / 1.286 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/1.073, allocations: 207.1 kB / 1.286 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/1.073, allocations: 48.02 kB / 1.286 GB, free: 11.54 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0008516/1.074, allocations: 336.8 kB / 1.287 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005018/1.074, allocations: 128.5 kB / 1.287 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00431/1.078, allocations: 1.417 MB / 1.288 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/1.079, allocations: 7.344 kB / 1.288 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.079, allocations: 0 / 1.288 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.079, allocations: 6.562 kB / 1.288 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006928/1.085, allocations: 2.812 MB / 1.291 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/1.086, allocations: 4 kB / 1.291 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/1.087, allocations: 221.5 kB / 1.291 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-05/1.087, allocations: 11.72 kB / 1.291 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/1.087, allocations: 27.83 kB / 1.291 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.328e-05/1.087, allocations: 9.812 kB / 1.291 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.087, allocations: 7.719 kB / 1.291 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005661/1.093, allocations: 2.251 MB / 1.293 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007162/1.094, allocations: 294.1 kB / 1.294 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003622/1.094, allocations: 27.95 kB / 1.294 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/1.095, allocations: 105.1 kB / 1.294 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.095, allocations: 69.02 kB / 1.294 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.335e-05/1.096, allocations: 36.64 kB / 1.294 GB, free: 10.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001247/1.097, allocations: 0.8543 MB / 1.295 GB, free: 10.03 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.097, allocations: 0 / 1.295 GB, free: 10.03 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00141/1.098, allocations: 321.9 kB / 1.295 GB, free: 10 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.007385/1.106, allocations: 3.225 MB / 1.298 GB, free: 8.973 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004169/1.11, allocations: 1.416 MB / 1.3 GB, free: 8.918 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/1.11, allocations: 3.094 kB / 1.3 GB, free: 8.918 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002046/1.112, allocations: 0.6335 MB / 1.3 GB, free: 8.902 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004056/1.116, allocations: 0.5977 MB / 1.301 GB, free: 8.797 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02407/1.14, allocations: 11.76 MB / 1.312 GB, free: 4.441 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007884/1.141, allocations: 1.177 MB / 1.313 GB, free: 3.723 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001593/1.143, allocations: 342.1 kB / 1.314 GB, free: 3.641 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007029/1.143, allocations: 0.4896 MB / 1.314 GB, free: 3.633 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/1.143, allocations: 0 / 1.314 GB, free: 3.633 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06879/1.212, allocations: 33.58 MB / 1.347 GB, free: 6.047 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/9.415, allocations: 11.67 kB / 1.347 GB, free: 6.035 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)