Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 179.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4853/0.4853, allocations: 90.81 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 221.3 MB / 348.3 MB, free: 444 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009599/0.0009598, allocations: 106.2 kB / 421.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.138e-05/4.15e-05, allocations: 4 kB / 0.4897 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3935, allocations: 72.3 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.164/4.558, allocations: 1.827 GB / 2.388 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/4.558, allocations: 84.52 kB / 2.388 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.749/8.307, allocations: 1.018 GB / 3.406 GB, free: 65.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/8.307, allocations: 0 / 3.406 GB, free: 65.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001889/8.308, allocations: 43.98 kB / 3.406 GB, free: 65.17 MB / 0.6198 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.007586/8.315, allocations: 1.836 MB / 3.408 GB, free: 63.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/8.315, allocations: 15.97 kB / 3.408 GB, free: 63.28 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004604/8.316, allocations: 139.5 kB / 3.408 GB, free: 63.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004349/8.32, allocations: 0.6928 MB / 3.408 GB, free: 62.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00375/8.324, allocations: 1.051 MB / 3.409 GB, free: 61.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.831e-05/8.324, allocations: 62 kB / 3.41 GB, free: 61.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003321/8.324, allocations: 88 kB / 3.41 GB, free: 61.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/8.327, allocations: 1.256 MB / 3.411 GB, free: 59.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/8.327, allocations: 0 / 3.411 GB, free: 59.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/8.327, allocations: 36 kB / 3.411 GB, free: 59.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.378e-05/8.327, allocations: 49.91 kB / 3.411 GB, free: 59.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/8.328, allocations: 0.9877 MB / 3.412 GB, free: 58.78 MB / 0.6198 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.008368/8.337, allocations: 5.786 MB / 3.418 GB, free: 52.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/8.338, allocations: 0.9441 MB / 3.418 GB, free: 51.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006563/8.339, allocations: 0.4993 MB / 3.419 GB, free: 51.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007668/8.34, allocations: 0.5813 MB / 3.42 GB, free: 50.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008249/8.341, allocations: 0.5954 MB / 3.42 GB, free: 49.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=80): time 4.458e-06/8.341, allocations: 0 / 3.42 GB, free: 49.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=80): time 0.002241/8.343, allocations: 1.104 MB / 3.421 GB, free: 48.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/8.343, allocations: 64.14 kB / 3.421 GB, free: 48.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/8.344, allocations: 1.082 MB / 3.422 GB, free: 47.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/8.345, allocations: 41.7 kB / 3.422 GB, free: 47.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000373/8.345, allocations: 0.5831 MB / 3.423 GB, free: 47.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000233/8.345, allocations: 280.1 kB / 3.423 GB, free: 46.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.298e-05/8.345, allocations: 24 kB / 3.423 GB, free: 46.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.106e-05/8.345, allocations: 341.9 kB / 3.424 GB, free: 46.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006044/8.346, allocations: 421.8 kB / 3.424 GB, free: 46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007898/8.347, allocations: 0.7226 MB / 3.425 GB, free: 45.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007223/8.348, allocations: 473.7 kB / 3.425 GB, free: 44.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/8.348, allocations: 0 / 3.425 GB, free: 44.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001969/8.35, allocations: 1.241 MB / 3.426 GB, free: 43.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/8.35, allocations: 9.25 kB / 3.426 GB, free: 43.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/8.35, allocations: 12.12 kB / 3.426 GB, free: 43.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/8.35, allocations: 12 kB / 3.426 GB, free: 43.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/8.351, allocations: 311.5 kB / 3.427 GB, free: 43.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-05/8.351, allocations: 19.92 kB / 3.427 GB, free: 43.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/8.353, allocations: 242.6 kB / 3.427 GB, free: 42.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/8.353, allocations: 59.95 kB / 3.427 GB, free: 42.78 MB / 0.6198 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.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 (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.0002372/8.353, allocations: 166.9 kB / 3.427 GB, free: 42.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/8.353, allocations: 134.3 kB / 3.427 GB, free: 42.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/8.355, allocations: 1.217 MB / 3.428 GB, free: 41.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/8.355, allocations: 8 kB / 3.428 GB, free: 41.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.629e-06/8.356, allocations: 7.938 kB / 3.428 GB, free: 41.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/8.356, allocations: 7.984 kB / 3.428 GB, free: 41.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004388/8.36, allocations: 2.729 MB / 3.431 GB, free: 38.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/8.36, allocations: 16.03 kB / 3.431 GB, free: 38.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/8.361, allocations: 247.6 kB / 3.431 GB, free: 38.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.85e-05/8.361, allocations: 8 kB / 3.431 GB, free: 38.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/8.361, allocations: 39.91 kB / 3.431 GB, free: 38.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/8.361, allocations: 8 kB / 3.431 GB, free: 38.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/8.361, allocations: 7.938 kB / 3.431 GB, free: 38.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/8.364, allocations: 2.167 MB / 3.434 GB, free: 35.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007424/8.365, allocations: 347.1 kB / 3.434 GB, free: 35.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/8.365, allocations: 23.98 kB / 3.434 GB, free: 35.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/8.366, allocations: 143.8 kB / 3.434 GB, free: 35.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/8.367, allocations: 72.31 kB / 3.434 GB, free: 35.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.495e-05/8.367, allocations: 39.95 kB / 3.434 GB, free: 35.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009721/8.368, allocations: 0.8384 MB / 3.435 GB, free: 34.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/8.368, allocations: 0 / 3.435 GB, free: 34.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001655/8.369, allocations: 0.5035 MB / 3.435 GB, free: 33.79 MB / 0.6198 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * 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.005666/8.375, allocations: 5.669 MB / 3.441 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00162/8.377, allocations: 1.046 MB / 3.442 GB, free: 27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/8.377, allocations: 0 / 3.442 GB, free: 27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007009/8.377, allocations: 0.5387 MB / 3.442 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/8.38, allocations: 0.55 MB / 3.443 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/8.395, allocations: 3.043 MB / 3.446 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/8.395, allocations: 1.202 MB / 3.447 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001482/8.397, allocations: 389.8 kB / 3.448 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006829/8.397, allocations: 0.4992 MB / 3.448 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of SimCode: time 1.773e-06/8.397, allocations: 0 / 3.448 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.506/8.903, allocations: 63.47 MB / 3.51 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/8.904, allocations: 200 kB / 3.51 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.1/13, allocations: 3.156 kB / 3.51 GB, free: 103.6 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)