Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 289.7 MB / 302.2 MB, free: 2.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 182.3 kB / 371.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00095/0.0009502, allocations: 90.81 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.458e-05/5.448e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3635, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.894/6.258, allocations: 2.069 GB / 3.049 GB, free: 173.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/6.258, allocations: 86.14 kB / 3.049 GB, free: 173.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.825/9.083, allocations: 0.6805 GB / 3.729 GB, free: 159.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.282e-06/9.083, allocations: 0 / 3.729 GB, free: 159.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001075/9.083, allocations: 50.56 kB / 3.729 GB, free: 159.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.008211/9.092, allocations: 1.752 MB / 3.731 GB, free: 158.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.001e-05/9.092, allocations: 15.69 kB / 3.731 GB, free: 158.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004409/9.092, allocations: 134.4 kB / 3.731 GB, free: 158.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00767/9.1, allocations: 0.8845 MB / 3.732 GB, free: 158.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004913/9.105, allocations: 1.115 MB / 3.733 GB, free: 157.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/9.105, allocations: 72.77 kB / 3.733 GB, free: 157.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000361/9.105, allocations: 91.91 kB / 3.733 GB, free: 157.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003386/9.109, allocations: 1.265 MB / 3.734 GB, free: 157.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/9.109, allocations: 0 / 3.734 GB, free: 157.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/9.109, allocations: 45.5 kB / 3.735 GB, free: 157.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.264e-05/9.109, allocations: 43.38 kB / 3.735 GB, free: 157.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/9.113, allocations: 1.262 MB / 3.736 GB, free: 156.8 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01319/9.126, allocations: 4.807 MB / 3.74 GB, free: 154 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/9.129, allocations: 1.051 MB / 3.742 GB, free: 153.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/9.13, allocations: 0.585 MB / 3.742 GB, free: 153.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001883/9.132, allocations: 0.9395 MB / 3.743 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001729/9.134, allocations: 0.6378 MB / 3.744 GB, free: 152.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 6.011e-06/9.134, allocations: 0 / 3.744 GB, free: 152.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.00501/9.139, allocations: 1.216 MB / 3.745 GB, free: 151.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/9.139, allocations: 67.75 kB / 3.745 GB, free: 151.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/9.142, allocations: 1.055 MB / 3.746 GB, free: 151.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002538/9.142, allocations: 49.08 kB / 3.746 GB, free: 151.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007061/9.143, allocations: 0.5503 MB / 3.746 GB, free: 150.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000494/9.144, allocations: 322.6 kB / 3.747 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/9.144, allocations: 19.59 kB / 3.747 GB, free: 150.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001396/9.144, allocations: 348 kB / 3.747 GB, free: 150.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/9.145, allocations: 447.3 kB / 3.748 GB, free: 150.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/9.147, allocations: 0.6928 MB / 3.748 GB, free: 149.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/9.149, allocations: 485.3 kB / 3.749 GB, free: 149.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/9.149, allocations: 5.625 kB / 3.749 GB, free: 149.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003954/9.153, allocations: 1.254 MB / 3.75 GB, free: 149 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/9.153, allocations: 10.38 kB / 3.75 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/9.153, allocations: 3.938 kB / 3.75 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.194e-05/9.153, allocations: 10.97 kB / 3.75 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003154/9.156, allocations: 336.3 kB / 3.75 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.789e-05/9.156, allocations: 10.94 kB / 3.75 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003483/9.159, allocations: 272.2 kB / 3.751 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002635/9.16, allocations: 49.83 kB / 3.751 GB, free: 148.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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.0004851/9.16, allocations: 164.2 kB / 3.751 GB, free: 148.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005961/9.161, allocations: 134.9 kB / 3.751 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00397/9.165, allocations: 1.33 MB / 3.752 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/9.165, allocations: 18.14 kB / 3.752 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/9.165, allocations: 7.938 kB / 3.752 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/9.165, allocations: 11.77 kB / 3.752 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007274/9.172, allocations: 2.902 MB / 3.755 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/9.172, allocations: 3.938 kB / 3.755 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/9.174, allocations: 299.1 kB / 3.755 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.449e-05/9.174, allocations: 6.375 kB / 3.755 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/9.174, allocations: 33.75 kB / 3.755 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.527e-05/9.174, allocations: 11.72 kB / 3.755 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/9.174, allocations: 3.906 kB / 3.755 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003731/9.178, allocations: 2.305 MB / 3.758 GB, free: 145.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009948/9.179, allocations: 356.5 kB / 3.758 GB, free: 145.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004761/9.179, allocations: 31.36 kB / 3.758 GB, free: 145.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/9.181, allocations: 180.5 kB / 3.758 GB, free: 145.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/9.182, allocations: 66.33 kB / 3.758 GB, free: 145.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/9.182, allocations: 43.06 kB / 3.758 GB, free: 145.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001478/9.183, allocations: 0.8233 MB / 3.759 GB, free: 144.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/9.183, allocations: 0 / 3.759 GB, free: 144.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002279/9.185, allocations: 0.515 MB / 3.76 GB, free: 144.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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.006912/9.192, allocations: 5.804 MB / 3.765 GB, free: 141.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002089/9.195, allocations: 1.089 MB / 3.766 GB, free: 140.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/9.195, allocations: 2.625 kB / 3.766 GB, free: 140.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009762/9.196, allocations: 0.5849 MB / 3.767 GB, free: 140.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/9.199, allocations: 0.5979 MB / 3.767 GB, free: 140.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006708/9.206, allocations: 2.644 MB / 3.77 GB, free: 139.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008174/9.206, allocations: 1.226 MB / 3.771 GB, free: 138.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00223/9.209, allocations: 370.8 kB / 3.772 GB, free: 138.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009986/9.21, allocations: 0.5174 MB / 3.772 GB, free: 138 MB / 0.948 GB Notification: Performance of SimCode: time 1.213e-06/9.21, allocations: 3.969 kB / 3.772 GB, free: 138 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09927/9.309, allocations: 64.87 MB / 3.835 GB, free: 95.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/9.309, allocations: 200.9 kB / 3.836 GB, free: 95.57 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.792/14.1, allocations: 4 kB / 3.836 GB, free: 95.57 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)