Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_9_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.005377/0.005377, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.001121/0.001121, allocations: 195.7 kB / 16.68 MB, free: 6.375 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 60.16 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2566, allocations: 140.4 MB / 1.088 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.8049/1.062, allocations: 193.8 MB / 1.277 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008668/1.07, allocations: 5.158 MB / 1.282 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/1.072, allocations: 46.19 kB / 1.282 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002212/1.074, allocations: 0.8121 MB / 1.283 GB, free: 3.031 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007707/1.082, allocations: 2.595 MB / 1.285 GB, free: 2.93 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003802/1.086, allocations: 1.112 MB / 1.286 GB, free: 2.91 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004759/1.091, allocations: 2.616 MB / 1.289 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001812/1.093, allocations: 0.8913 MB / 1.29 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002426/1.095, allocations: 1.084 MB / 1.291 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/1.097, allocations: 0.9461 MB / 1.292 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002145/1.097, allocations: 78.44 kB / 1.292 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004882/1.102, allocations: 1.777 MB / 1.293 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008295/1.103, allocations: 435.4 kB / 1.294 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001322/1.104, allocations: 0.6478 MB / 1.295 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004908/1.109, allocations: 2.152 MB / 1.297 GB, free: 2.508 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/1.109, allocations: 0.9375 kB / 1.297 GB, free: 2.508 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.064e-06/1.109, allocations: 0 / 1.297 GB, free: 2.508 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.472e-05/1.109, allocations: 0 / 1.297 GB, free: 2.508 MB / 1.014 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.006188/1.115, allocations: 1.93 MB / 1.299 GB, free: 1.559 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/1.115, allocations: 9.531 kB / 1.299 GB, free: 1.559 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/1.116, allocations: 144.8 kB / 1.299 GB, free: 1.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004365/1.12, allocations: 0.6551 MB / 1.299 GB, free: 1.441 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/1.122, allocations: 0.9472 MB / 1.3 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.461e-05/1.122, allocations: 66.22 kB / 1.3 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/1.122, allocations: 94.55 kB / 1.3 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00311/1.125, allocations: 1.475 MB / 1.302 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/1.125, allocations: 1.125 kB / 1.302 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/1.125, allocations: 38.56 kB / 1.302 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-05/1.125, allocations: 50.22 kB / 1.302 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00414/1.13, allocations: 1.52 MB / 1.303 GB, free: 0.8008 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.007421/1.137, allocations: 5.479 MB / 1.309 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003891/1.141, allocations: 1.289 MB / 1.31 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/1.143, allocations: 0.657 MB / 1.311 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009187/1.144, allocations: 0.5798 MB / 1.311 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001925/1.146, allocations: 0.7057 MB / 1.312 GB, free: 13.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=80): time 2.996e-06/1.146, allocations: 2.094 kB / 1.312 GB, free: 13.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=80): time 0.005885/1.152, allocations: 1.876 MB / 1.314 GB, free: 13.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/1.152, allocations: 67.44 kB / 1.314 GB, free: 12.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/1.153, allocations: 1.241 MB / 1.315 GB, free: 12.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/1.153, allocations: 44.41 kB / 1.315 GB, free: 12.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/1.154, allocations: 0.5766 MB / 1.316 GB, free: 12.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/1.154, allocations: 274.5 kB / 1.316 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003034/1.154, allocations: 183.1 kB / 1.316 GB, free: 12.37 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.154, allocations: 341.1 kB / 1.316 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/1.156, allocations: 0.537 MB / 1.317 GB, free: 12.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/1.158, allocations: 0.826 MB / 1.318 GB, free: 11.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003464/1.161, allocations: 1.326 MB / 1.319 GB, free: 11.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.161, allocations: 1.438 kB / 1.319 GB, free: 11.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004157/1.165, allocations: 1.492 MB / 1.32 GB, free: 11.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/1.166, allocations: 8.188 kB / 1.32 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.166, allocations: 8.219 kB / 1.32 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/1.166, allocations: 16.38 kB / 1.32 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/1.167, allocations: 295.2 kB / 1.321 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/1.167, allocations: 23.33 kB / 1.321 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/1.169, allocations: 201.8 kB / 1.321 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/1.169, allocations: 47.73 kB / 1.321 GB, free: 11.21 MB / 1.029 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.0005798/1.169, allocations: 340.9 kB / 1.321 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/1.17, allocations: 133.1 kB / 1.321 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003796/1.173, allocations: 1.395 MB / 1.323 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/1.173, allocations: 12.38 kB / 1.323 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/1.173, allocations: 3.938 kB / 1.323 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/1.173, allocations: 3.094 kB / 1.323 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005885/1.179, allocations: 2.799 MB / 1.326 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/1.179, allocations: 6.125 kB / 1.326 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/1.181, allocations: 229.5 kB / 1.326 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/1.181, allocations: 12.12 kB / 1.326 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.452e-05/1.181, allocations: 32.8 kB / 1.326 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/1.181, allocations: 5.031 kB / 1.326 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/1.181, allocations: 16.16 kB / 1.326 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005598/1.186, allocations: 2.248 MB / 1.328 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00069/1.187, allocations: 289.8 kB / 1.328 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/1.187, allocations: 21.7 kB / 1.328 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.188, allocations: 117.2 kB / 1.328 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/1.189, allocations: 60.59 kB / 1.329 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.958e-05/1.189, allocations: 37.5 kB / 1.329 GB, free: 9.801 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001016/1.19, allocations: 0.8558 MB / 1.329 GB, free: 9.688 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.41e-07/1.19, allocations: 0 / 1.329 GB, free: 9.688 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001096/1.191, allocations: 317.5 kB / 1.33 GB, free: 9.664 MB / 1.029 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.006772/1.198, allocations: 3.225 MB / 1.333 GB, free: 8.621 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003629/1.201, allocations: 1.288 MB / 1.334 GB, free: 8.582 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.201, allocations: 0 / 1.334 GB, free: 8.582 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001772/1.203, allocations: 0.6463 MB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/1.206, allocations: 0.5871 MB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/1.226, allocations: 10.95 MB / 1.346 GB, free: 4.066 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007459/1.227, allocations: 1.169 MB / 1.347 GB, free: 3.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001425/1.228, allocations: 352.8 kB / 1.347 GB, free: 3.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007935/1.229, allocations: 0.4911 MB / 1.348 GB, free: 2.867 MB / 1.029 GB Notification: Performance of SimCode: time 6.42e-07/1.229, allocations: 0 / 1.348 GB, free: 2.867 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06323/1.292, allocations: 33.92 MB / 1.381 GB, free: 11.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/15.49, allocations: 11.92 kB / 1.381 GB, free: 11.54 MB / 1.061 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)