Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_8_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.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001102/0.001102, allocations: 190.9 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.1 MB / 222 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.633/1.633, allocations: 292.3 MB / 0.5484 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 74.03 kB / 0.6709 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1682, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5017/0.6699, allocations: 191.6 MB / 0.9699 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006329/0.6763, allocations: 5.047 MB / 0.9748 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005214/0.6768, allocations: 45.34 kB / 0.9748 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.6781, allocations: 0.717 MB / 0.9755 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00393/0.6821, allocations: 2.418 MB / 0.9779 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.6839, allocations: 1.016 MB / 0.9789 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002421/0.6863, allocations: 3.516 MB / 0.9823 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008564/0.6871, allocations: 0.8037 MB / 0.9831 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.6884, allocations: 1.011 MB / 0.9841 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008132/0.6892, allocations: 0.9851 MB / 0.9851 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.6893, allocations: 54.72 kB / 0.9851 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/0.6919, allocations: 2.071 MB / 0.9871 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.6922, allocations: 412.3 kB / 0.9875 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000418/0.6926, allocations: 0.6298 MB / 0.9882 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.6944, allocations: 2.227 MB / 0.9903 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.6944, allocations: 2.859 kB / 0.9903 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.12e-07/0.6944, allocations: 0 / 0.9903 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.6944, allocations: 2.625 kB / 0.9903 GB, free: 3.914 MB / 0.7325 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.004171/0.6986, allocations: 1.947 MB / 0.9922 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.6986, allocations: 8.906 kB / 0.9922 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/0.6987, allocations: 142.6 kB / 0.9924 GB, free: 18.92 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003535/0.7023, allocations: 0.6652 MB / 0.993 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.7033, allocations: 0.8906 MB / 0.9939 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/0.7034, allocations: 68.81 kB / 0.994 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.7035, allocations: 95.25 kB / 0.9941 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/0.7061, allocations: 1.473 MB / 0.9955 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.7061, allocations: 6.531 kB / 0.9955 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.938e-05/0.7062, allocations: 37.14 kB / 0.9955 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.045e-05/0.7063, allocations: 48.25 kB / 0.9956 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003389/0.7097, allocations: 1.513 MB / 0.9971 GB, free: 17.62 MB / 0.7481 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.005765/0.7155, allocations: 5.487 MB / 1.002 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/0.7185, allocations: 1.29 MB / 1.004 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.72, allocations: 0.6675 MB / 1.004 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007642/0.7207, allocations: 0.5812 MB / 1.005 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001647/0.7224, allocations: 0.7086 MB / 1.006 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=80): time 2.084e-06/0.7224, allocations: 0 / 1.006 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=80): time 0.005055/0.7275, allocations: 1.873 MB / 1.007 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.7275, allocations: 63.09 kB / 1.007 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.7287, allocations: 1.253 MB / 1.009 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.991e-05/0.7288, allocations: 43.05 kB / 1.009 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/0.7292, allocations: 0.5804 MB / 1.009 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.7294, allocations: 279.5 kB / 1.01 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.7297, allocations: 188.1 kB / 1.01 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.7298, allocations: 341.3 kB / 1.01 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.7313, allocations: 0.5354 MB / 1.011 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.733, allocations: 0.8506 MB / 1.011 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002976/0.736, allocations: 1.323 MB / 1.013 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.736, allocations: 3.156 kB / 1.013 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003421/0.7394, allocations: 1.497 MB / 1.014 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.7395, allocations: 9.688 kB / 1.014 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.7395, allocations: 8.438 kB / 1.014 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.7395, allocations: 15.59 kB / 1.014 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.7408, allocations: 296.8 kB / 1.015 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.7408, allocations: 22.7 kB / 1.015 GB, free: 6.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.7422, allocations: 213.6 kB / 1.015 GB, free: 6.363 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.749e-05/0.7423, allocations: 53.31 kB / 1.015 GB, free: 6.348 MB / 0.7481 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.0004745/0.7427, allocations: 343 kB / 1.015 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.7429, allocations: 138.3 kB / 1.015 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0035/0.7464, allocations: 1.408 MB / 1.017 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.7465, allocations: 10.03 kB / 1.017 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.7465, allocations: 0 / 1.017 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.7465, allocations: 7.969 kB / 1.017 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005165/0.7516, allocations: 2.802 MB / 1.019 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.7517, allocations: 5.219 kB / 1.019 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.7529, allocations: 229.9 kB / 1.02 GB, free: 3.465 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.7529, allocations: 6.562 kB / 1.02 GB, free: 3.465 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.563e-05/0.753, allocations: 32.19 kB / 1.02 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.753, allocations: 9.969 kB / 1.02 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.753, allocations: 5.188 kB / 1.02 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005051/0.758, allocations: 2.246 MB / 1.022 GB, free: 2.184 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.7585, allocations: 299.5 kB / 1.022 GB, free: 1.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.7587, allocations: 20.44 kB / 1.022 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.7598, allocations: 133.4 kB / 1.022 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.7599, allocations: 67.75 kB / 1.022 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-05/0.76, allocations: 33.97 kB / 1.022 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008644/0.7609, allocations: 0.8583 MB / 1.023 GB, free: 1.375 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7609, allocations: 0 / 1.023 GB, free: 1.375 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008853/0.7618, allocations: 318.5 kB / 1.024 GB, free: 1.32 MB / 0.7481 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.006207/0.768, allocations: 3.226 MB / 1.027 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003185/0.7712, allocations: 1.276 MB / 1.028 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7712, allocations: 0 / 1.028 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001607/0.7728, allocations: 0.643 MB / 1.029 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/0.7753, allocations: 0.59 MB / 1.029 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01912/0.7944, allocations: 12.15 MB / 1.041 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007067/0.7951, allocations: 1.171 MB / 1.042 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001485/0.7966, allocations: 354 kB / 1.042 GB, free: 152 kB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007671/0.7974, allocations: 0.4984 MB / 1.043 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of SimCode: time 1.162e-06/0.7974, allocations: 0 / 1.043 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2874/1.085, allocations: 32.98 MB / 1.075 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/1.085, allocations: 274.6 kB / 1.075 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.693/3.778, allocations: 0 / 1.075 GB, free: 14.92 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)