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.001027/0.001028, allocations: 95.86 kB / 15.05 MB, free: 1.113 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.001022/0.001023, allocations: 181.3 kB / 15.95 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.4 MB / 222.1 MB, free: 5.367 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 2.097/2.097, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0009417/0.000942, allocations: 17.78 kB / 0.6737 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2621, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.7048/0.9669, allocations: 160.8 MB / 0.9442 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0102/0.9772, allocations: 4.908 MB / 0.949 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/0.9792, allocations: 41.22 kB / 0.9491 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002489/0.9817, allocations: 0.7773 MB / 0.9498 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006289/0.988, allocations: 1.754 MB / 0.9515 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004683/0.9927, allocations: 1.178 MB / 0.9527 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004/0.9967, allocations: 1.618 MB / 0.9543 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.9984, allocations: 0.762 MB / 0.955 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002612/1.001, allocations: 0.9669 MB / 0.956 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/1.002, allocations: 0.6756 MB / 0.9566 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001887/1.003, allocations: 47.69 kB / 0.9567 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/1.005, allocations: 0.7358 MB / 0.9574 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004616/1.006, allocations: 376.6 kB / 0.9578 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005147/1.006, allocations: 271.9 kB / 0.958 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00208/1.008, allocations: 1.223 MB / 0.9592 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.008, allocations: 4.125 kB / 0.9592 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.675e-06/1.008, allocations: 0 / 0.9592 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.245e-05/1.008, allocations: 3.938 kB / 0.9592 GB, free: 5.191 MB / 0.7169 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.005316/1.014, allocations: 1.661 MB / 0.9608 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/1.014, allocations: 12.08 kB / 0.9608 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002191/1.014, allocations: 140.5 kB / 0.961 GB, free: 20.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004158/1.018, allocations: 0.7084 MB / 0.9617 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/1.02, allocations: 0.8431 MB / 0.9625 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.347e-05/1.02, allocations: 73.66 kB / 0.9626 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/1.02, allocations: 88.66 kB / 0.9627 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003126/1.024, allocations: 1.471 MB / 0.9641 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/1.024, allocations: 8.094 kB / 0.9641 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/1.024, allocations: 40.98 kB / 0.9641 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-05/1.024, allocations: 44.69 kB / 0.9642 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0041/1.028, allocations: 1.54 MB / 0.9657 GB, free: 19.53 MB / 0.7325 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.00722/1.035, allocations: 5.145 MB / 0.9707 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003562/1.039, allocations: 1.322 MB / 0.972 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004706/1.039, allocations: 161.7 kB / 0.9721 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001787/1.041, allocations: 0.7088 MB / 0.9728 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=80): time 4.088e-06/1.041, allocations: 0 / 0.9728 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=80): time 0.005733/1.047, allocations: 1.913 MB / 0.9747 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/1.047, allocations: 61.38 kB / 0.9748 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/1.049, allocations: 1.24 MB / 0.976 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/1.049, allocations: 48.08 kB / 0.976 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/1.049, allocations: 0.5811 MB / 0.9766 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/1.049, allocations: 278 kB / 0.9769 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/1.049, allocations: 18.41 kB / 0.9769 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.05, allocations: 341.2 kB / 0.9772 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/1.051, allocations: 0.5502 MB / 0.9777 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/1.053, allocations: 0.8437 MB / 0.9786 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/1.055, allocations: 0.5991 MB / 0.9791 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/1.055, allocations: 3.219 kB / 0.9791 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003996/1.059, allocations: 1.509 MB / 0.9806 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/1.059, allocations: 9.094 kB / 0.9806 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/1.059, allocations: 5.906 kB / 0.9806 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/1.059, allocations: 19.97 kB / 0.9807 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/1.06, allocations: 302 kB / 0.9809 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-05/1.06, allocations: 13.88 kB / 0.981 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/1.062, allocations: 234.2 kB / 0.9812 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/1.062, allocations: 52.34 kB / 0.9812 GB, free: 13.34 MB / 0.7325 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 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007662/1.063, allocations: 345.1 kB / 0.9816 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/1.063, allocations: 137.8 kB / 0.9817 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004133/1.067, allocations: 1.43 MB / 0.9831 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/1.067, allocations: 12.56 kB / 0.9831 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.067, allocations: 0 / 0.9831 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/1.067, allocations: 3.984 kB / 0.9831 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006443/1.074, allocations: 2.825 MB / 0.9859 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/1.074, allocations: 8.562 kB / 0.9859 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.075, allocations: 225.9 kB / 0.9861 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/1.075, allocations: 10.78 kB / 0.9861 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.912e-05/1.075, allocations: 30.41 kB / 0.9861 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.966e-06/1.075, allocations: 6 kB / 0.9861 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/1.075, allocations: 7.844 kB / 0.9861 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005382/1.081, allocations: 2.488 MB / 0.9886 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008851/1.081, allocations: 305 kB / 0.9889 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/1.082, allocations: 30.5 kB / 0.9889 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/1.083, allocations: 137.5 kB / 0.989 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/1.083, allocations: 57.38 kB / 0.9891 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.438e-05/1.083, allocations: 41.33 kB / 0.9891 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001141/1.084, allocations: 0.8544 MB / 0.9899 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.084, allocations: 0 / 0.9899 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001299/1.086, allocations: 322.7 kB / 0.9903 GB, free: 9.957 MB / 0.7325 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007431/1.093, allocations: 4.543 MB / 0.9947 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003569/1.097, allocations: 1.293 MB / 0.996 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.097, allocations: 0 / 0.996 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001677/1.098, allocations: 0.652 MB / 0.9966 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/1.102, allocations: 0.5743 MB / 0.9972 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/1.122, allocations: 13.41 MB / 1.01 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007449/1.122, allocations: 1.198 MB / 1.011 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001743/1.124, allocations: 350 kB / 1.012 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007187/1.125, allocations: 0.4933 MB / 1.012 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of SimCode: time 1.272e-06/1.125, allocations: 3.938 kB / 1.012 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07793/1.203, allocations: 32.67 MB / 1.044 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/1.203, allocations: 241.4 kB / 1.044 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.236/6.439, allocations: 0 / 1.044 GB, free: 12.23 MB / 0.7794 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/linux/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) Environment - environmentSimulation: