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.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_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.001003/0.001003, allocations: 97.64 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.007461/0.007461, allocations: 170.1 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.623/2.623, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005401/0.0005402, allocations: 13.97 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2809, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1919/0.4728, allocations: 189 MB / 1.243 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008654/0.4815, allocations: 5.143 MB / 1.248 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.4828, allocations: 43.69 kB / 1.248 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.4848, allocations: 0.7077 MB / 1.249 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.5682/1.053, allocations: 2.44 MB / 1.251 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002477/1.056, allocations: 1.004 MB / 1.252 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003892/1.059, allocations: 3.544 MB / 1.256 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/1.061, allocations: 0.8065 MB / 1.257 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/1.063, allocations: 0.984 MB / 1.258 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/1.064, allocations: 0.9689 MB / 1.259 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/1.064, allocations: 51.59 kB / 1.259 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003647/1.068, allocations: 2.063 MB / 1.261 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006144/1.068, allocations: 400.8 kB / 1.261 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001204/1.069, allocations: 0.63 MB / 1.262 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004018/1.073, allocations: 2.19 MB / 1.264 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/1.073, allocations: 0 / 1.264 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.584e-06/1.073, allocations: 2.531 kB / 1.264 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.504e-05/1.073, allocations: 2.906 kB / 1.264 GB, free: 3.684 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.004669/1.078, allocations: 1.676 MB / 1.265 GB, free: 18.79 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.078, allocations: 16.78 kB / 1.265 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002142/1.078, allocations: 136.7 kB / 1.266 GB, free: 18.74 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004141/1.083, allocations: 0.7 MB / 1.266 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/1.084, allocations: 0.8808 MB / 1.267 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.945e-05/1.084, allocations: 62.81 kB / 1.267 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/1.084, allocations: 90.09 kB / 1.267 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003193/1.088, allocations: 1.492 MB / 1.269 GB, free: 18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/1.088, allocations: 2.312 kB / 1.269 GB, free: 18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/1.088, allocations: 32.2 kB / 1.269 GB, free: 18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.259e-05/1.088, allocations: 49.48 kB / 1.269 GB, free: 18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004296/1.092, allocations: 1.547 MB / 1.27 GB, free: 17.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.007927/1.1, allocations: 5.494 MB / 1.276 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003653/1.104, allocations: 1.323 MB / 1.277 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/1.105, allocations: 0.6652 MB / 1.278 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008906/1.106, allocations: 0.5971 MB / 1.278 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001881/1.108, allocations: 0.7173 MB / 1.279 GB, free: 14.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=80): time 4.428e-06/1.108, allocations: 2.344 kB / 1.279 GB, free: 14.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=80): time 0.005833/1.114, allocations: 1.916 MB / 1.281 GB, free: 14.09 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/1.114, allocations: 63.39 kB / 1.281 GB, free: 14.03 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/1.116, allocations: 1.237 MB / 1.282 GB, free: 13.87 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/1.116, allocations: 45.92 kB / 1.282 GB, free: 13.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/1.116, allocations: 0.5804 MB / 1.283 GB, free: 13.64 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/1.116, allocations: 275.2 kB / 1.283 GB, free: 13.47 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/1.116, allocations: 76.19 kB / 1.283 GB, free: 13.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.117, allocations: 345.2 kB / 1.283 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/1.118, allocations: 0.5526 MB / 1.284 GB, free: 13.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/1.12, allocations: 0.8311 MB / 1.285 GB, free: 12.83 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003297/1.123, allocations: 1.349 MB / 1.286 GB, free: 12.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/1.123, allocations: 2.469 kB / 1.286 GB, free: 12.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003948/1.127, allocations: 1.518 MB / 1.288 GB, free: 12.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/1.127, allocations: 11.34 kB / 1.288 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/1.127, allocations: 11.94 kB / 1.288 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/1.127, allocations: 12.28 kB / 1.288 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/1.129, allocations: 300.4 kB / 1.288 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/1.129, allocations: 21.27 kB / 1.288 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/1.13, allocations: 222.8 kB / 1.288 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/1.13, allocations: 49.17 kB / 1.288 GB, free: 12.3 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.0006203/1.131, allocations: 342.5 kB / 1.288 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/1.131, allocations: 130.4 kB / 1.289 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003749/1.135, allocations: 1.436 MB / 1.29 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/1.135, allocations: 8.469 kB / 1.29 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.135, allocations: 0 / 1.29 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/1.135, allocations: 4 kB / 1.29 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005477/1.141, allocations: 2.835 MB / 1.293 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.141, allocations: 5.344 kB / 1.293 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/1.142, allocations: 230 kB / 1.293 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/1.142, allocations: 6.531 kB / 1.293 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.588e-05/1.142, allocations: 30.48 kB / 1.293 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/1.142, allocations: 9.406 kB / 1.293 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.142, allocations: 11.36 kB / 1.293 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005364/1.147, allocations: 2.283 MB / 1.295 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006155/1.148, allocations: 309.4 kB / 1.296 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/1.148, allocations: 25.25 kB / 1.296 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.149, allocations: 140.1 kB / 1.296 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/1.149, allocations: 59.84 kB / 1.296 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.299e-05/1.149, allocations: 36.41 kB / 1.296 GB, free: 10.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009595/1.15, allocations: 0.852 MB / 1.297 GB, free: 10.79 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.15, allocations: 0 / 1.297 GB, free: 10.79 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001043/1.151, allocations: 320.5 kB / 1.297 GB, free: 10.76 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.006397/1.158, allocations: 3.264 MB / 1.3 GB, free: 9.742 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003393/1.161, allocations: 1.306 MB / 1.301 GB, free: 9.699 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.161, allocations: 0 / 1.301 GB, free: 9.699 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/1.163, allocations: 0.649 MB / 1.302 GB, free: 9.68 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003394/1.166, allocations: 0.5732 MB / 1.303 GB, free: 9.621 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02007/1.186, allocations: 12.25 MB / 1.315 GB, free: 4.867 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006721/1.187, allocations: 1.167 MB / 1.316 GB, free: 4.148 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001474/1.189, allocations: 350.4 kB / 1.316 GB, free: 4.059 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006236/1.189, allocations: 498.1 kB / 1.316 GB, free: 4.051 MB / 1.014 GB Notification: Performance of SimCode: time 1.162e-06/1.189, allocations: 0 / 1.316 GB, free: 4.051 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04811/1.237, allocations: 32.02 MB / 1.348 GB, free: 7.695 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/1.238, allocations: 267.5 kB / 1.348 GB, free: 7.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/3.817, allocations: 3.938 kB / 1.348 GB, free: 7.336 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)