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.001249/0.001249, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5038/0.5038, allocations: 90.91 MB / 99.34 MB, free: 2.215 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 221.5 MB / 343.2 MB, free: 1.633 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008825/0.0008825, allocations: 95.33 kB / 415.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.946e-05, allocations: 4 kB / 494.6 MB, free: 52.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1596, allocations: 72.31 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.009/5.169, allocations: 1.827 GB / 2.38 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/5.169, allocations: 83.95 kB / 2.38 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.812/8.982, allocations: 1.007 GB / 3.387 GB, free: 9.273 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.342e-06/8.982, allocations: 0 / 3.387 GB, free: 9.273 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001819/8.982, allocations: 39.98 kB / 3.387 GB, free: 9.234 MB / 0.6042 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.007386/8.989, allocations: 1.832 MB / 3.389 GB, free: 7.352 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/8.989, allocations: 12.03 kB / 3.389 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00435/8.994, allocations: 0.6928 MB / 3.389 GB, free: 6.645 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003069/8.997, allocations: 1.055 MB / 3.39 GB, free: 5.535 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/8.997, allocations: 24 kB / 3.39 GB, free: 5.512 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/8.997, allocations: 59.98 kB / 3.39 GB, free: 5.453 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001299/8.998, allocations: 0.8239 MB / 3.391 GB, free: 4.629 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/9, allocations: 1.155 MB / 3.392 GB, free: 3.398 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/9, allocations: 4 kB / 3.392 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.82e-05/9, allocations: 11.98 kB / 3.392 GB, free: 3.383 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.367e-05/9, allocations: 41.97 kB / 3.392 GB, free: 3.34 MB / 0.6042 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.007433/9.007, allocations: 5.579 MB / 3.398 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/9.009, allocations: 0.8926 MB / 3.399 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006756/9.009, allocations: 484.4 kB / 3.399 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009651/9.01, allocations: 0.5813 MB / 3.4 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009405/9.011, allocations: 0.5705 MB / 3.4 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=80): time 3.186e-06/9.011, allocations: 7.938 kB / 3.4 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=80): time 0.002478/9.014, allocations: 1.065 MB / 3.401 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/9.014, allocations: 60.19 kB / 3.401 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/9.015, allocations: 0.8475 MB / 3.402 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/9.015, allocations: 33.69 kB / 3.402 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006463/9.016, allocations: 0.5895 MB / 3.403 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000336/9.016, allocations: 268.2 kB / 3.403 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/9.017, allocations: 0 / 3.403 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001959/9.017, allocations: 341.9 kB / 3.403 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006902/9.017, allocations: 402.4 kB / 3.404 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009982/9.018, allocations: 0.7039 MB / 3.405 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008398/9.019, allocations: 456.2 kB / 3.405 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/9.019, allocations: 0 / 3.405 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002101/9.021, allocations: 1.162 MB / 3.406 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/9.021, allocations: 9.406 kB / 3.406 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/9.021, allocations: 8 kB / 3.406 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.582e-05/9.021, allocations: 12 kB / 3.406 GB, free: 4.727 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/9.023, allocations: 319.9 kB / 3.406 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/9.023, allocations: 15.95 kB / 3.406 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/9.025, allocations: 183.1 kB / 3.407 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/9.025, allocations: 63.89 kB / 3.407 GB, free: 4.156 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.0002509/9.025, allocations: 139 kB / 3.407 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001669/9.027, allocations: 1.002 MB / 3.408 GB, free: 3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/9.027, allocations: 118.6 kB / 3.408 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/9.029, allocations: 1.168 MB / 3.409 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/9.029, allocations: 19.83 kB / 3.409 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/9.029, allocations: 0 / 3.409 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/9.029, allocations: 3.984 kB / 3.409 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4088/9.438, allocations: 2.562 MB / 3.412 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/9.438, allocations: 5.047 kB / 3.412 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/9.439, allocations: 247.4 kB / 3.412 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.082e-05/9.439, allocations: 12.06 kB / 3.412 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.346e-05/9.439, allocations: 27.09 kB / 3.412 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.247e-05/9.439, allocations: 12.78 kB / 3.412 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/9.439, allocations: 4.281 kB / 3.412 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00348/9.443, allocations: 2.082 MB / 3.414 GB, free: 112.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007824/9.444, allocations: 329.5 kB / 3.414 GB, free: 112.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/9.444, allocations: 14.52 kB / 3.414 GB, free: 112.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/9.445, allocations: 129.1 kB / 3.414 GB, free: 112.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/9.445, allocations: 68.78 kB / 3.414 GB, free: 112.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/9.445, allocations: 44.31 kB / 3.414 GB, free: 112.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009793/9.446, allocations: 0.6398 MB / 3.415 GB, free: 112 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/9.446, allocations: 1.094 kB / 3.415 GB, free: 112 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001811/9.448, allocations: 456.8 kB / 3.416 GB, free: 112 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.007475/9.456, allocations: 5.766 MB / 3.421 GB, free: 109.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001957/9.458, allocations: 0.9979 MB / 3.422 GB, free: 109.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/9.458, allocations: 1.531 kB / 3.422 GB, free: 109.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007654/9.459, allocations: 0.5143 MB / 3.423 GB, free: 109.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/9.461, allocations: 408.8 kB / 3.423 GB, free: 109.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/9.476, allocations: 2.939 MB / 3.426 GB, free: 108.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/9.477, allocations: 1.209 MB / 3.427 GB, free: 108 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001971/9.479, allocations: 347.8 kB / 3.427 GB, free: 108 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009537/9.48, allocations: 0.4904 MB / 3.428 GB, free: 108 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/9.48, allocations: 3.812 kB / 3.428 GB, free: 108 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07826/9.558, allocations: 40.43 MB / 3.467 GB, free: 106.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/9.559, allocations: 197.6 kB / 3.468 GB, free: 106.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.211/12.77, allocations: 0 / 3.468 GB, free: 106.7 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)