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.001618/0.001618, allocations: 181.5 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5595/0.5595, allocations: 91.99 MB / 108.5 MB, free: 13.06 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.785/1.785, allocations: 223.1 MB / 354.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 103.2 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003896, allocations: 16 kB / 0.4983 GB, free: 42.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1882, allocations: 72.3 MB / 0.5689 GB, free: 1.855 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.391/5.579, allocations: 1.827 GB / 2.396 GB, free: 27.47 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/5.58, allocations: 91.95 kB / 2.396 GB, free: 27.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.213/9.793, allocations: 1.019 GB / 3.415 GB, free: 87.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.392e-06/9.793, allocations: 0 / 3.415 GB, free: 87.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000216/9.794, allocations: 45.33 kB / 3.415 GB, free: 87.31 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.009247/9.803, allocations: 2.034 MB / 3.417 GB, free: 86.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.671e-05/9.803, allocations: 11.53 kB / 3.417 GB, free: 86.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005232/9.803, allocations: 137.5 kB / 3.417 GB, free: 86.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004389/9.808, allocations: 0.6962 MB / 3.418 GB, free: 86.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00367/9.812, allocations: 1.056 MB / 3.419 GB, free: 86.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.84e-05/9.812, allocations: 62.25 kB / 3.419 GB, free: 86.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/9.812, allocations: 85.47 kB / 3.419 GB, free: 86.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/9.815, allocations: 1.474 MB / 3.421 GB, free: 85.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/9.815, allocations: 3.75 kB / 3.421 GB, free: 85.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/9.815, allocations: 33.09 kB / 3.421 GB, free: 85.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-05/9.815, allocations: 40.92 kB / 3.421 GB, free: 85.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003375/9.818, allocations: 1.381 MB / 3.422 GB, free: 85.9 MB / 0.6198 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.009782/9.828, allocations: 5.785 MB / 3.428 GB, free: 82.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003828/9.832, allocations: 1.395 MB / 3.429 GB, free: 82.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008809/9.833, allocations: 0.5793 MB / 3.43 GB, free: 82.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001884/9.835, allocations: 0.7864 MB / 3.431 GB, free: 82.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=80): time 5.962e-06/9.835, allocations: 3.609 kB / 3.431 GB, free: 82.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=80): time 0.005876/9.841, allocations: 2.08 MB / 3.433 GB, free: 82.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/9.841, allocations: 58.5 kB / 3.433 GB, free: 82.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/9.842, allocations: 1.095 MB / 3.434 GB, free: 82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/9.842, allocations: 47.48 kB / 3.434 GB, free: 81.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004737/9.843, allocations: 0.5828 MB / 3.434 GB, free: 81.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/9.843, allocations: 279.3 kB / 3.435 GB, free: 81.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/9.843, allocations: 18.62 kB / 3.435 GB, free: 81.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.661e-05/9.843, allocations: 338.9 kB / 3.435 GB, free: 81.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/9.845, allocations: 0.6062 MB / 3.436 GB, free: 81.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/9.847, allocations: 0.9239 MB / 3.436 GB, free: 81.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/9.848, allocations: 0.643 MB / 3.437 GB, free: 81.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/9.848, allocations: 3.75 kB / 3.437 GB, free: 81.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004064/9.852, allocations: 1.63 MB / 3.439 GB, free: 80.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/9.852, allocations: 10.44 kB / 3.439 GB, free: 80.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/9.852, allocations: 7.625 kB / 3.439 GB, free: 80.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/9.853, allocations: 14.56 kB / 3.439 GB, free: 80.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/9.854, allocations: 319.7 kB / 3.439 GB, free: 80.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/9.854, allocations: 14.44 kB / 3.439 GB, free: 80.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/9.856, allocations: 231.5 kB / 3.439 GB, free: 80.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/9.856, allocations: 59.64 kB / 3.439 GB, free: 80.86 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 () * 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.000723/9.857, allocations: 343.4 kB / 3.44 GB, free: 80.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/9.857, allocations: 140.9 kB / 3.44 GB, free: 80.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003914/9.861, allocations: 1.61 MB / 3.441 GB, free: 80.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/9.861, allocations: 14.72 kB / 3.441 GB, free: 80.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/9.861, allocations: 0 / 3.441 GB, free: 80.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/9.861, allocations: 6.328 kB / 3.441 GB, free: 80.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006292/9.867, allocations: 3.117 MB / 3.444 GB, free: 80.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/9.867, allocations: 7.375 kB / 3.444 GB, free: 80.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/9.869, allocations: 243.4 kB / 3.445 GB, free: 80.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/9.869, allocations: 10.53 kB / 3.445 GB, free: 80.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.255e-05/9.869, allocations: 37.91 kB / 3.445 GB, free: 80.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/9.869, allocations: 6.438 kB / 3.445 GB, free: 80.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/9.869, allocations: 7.688 kB / 3.445 GB, free: 80.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005541/9.874, allocations: 2.755 MB / 3.447 GB, free: 79.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008696/9.875, allocations: 344 kB / 3.448 GB, free: 79.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/9.875, allocations: 25.47 kB / 3.448 GB, free: 79.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/9.877, allocations: 141.5 kB / 3.448 GB, free: 79.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/9.877, allocations: 66.09 kB / 3.448 GB, free: 79.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.621e-05/9.877, allocations: 43.8 kB / 3.448 GB, free: 79.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001108/9.878, allocations: 0.8497 MB / 3.449 GB, free: 79.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/9.878, allocations: 3.75 kB / 3.449 GB, free: 79.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001869/9.88, allocations: 0.5028 MB / 3.449 GB, free: 79.18 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) * Number of clocked states: 0 () * 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.009004/9.889, allocations: 6.295 MB / 3.455 GB, free: 76.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003599/9.892, allocations: 1.433 MB / 3.457 GB, free: 76.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/9.892, allocations: 0 / 3.457 GB, free: 76.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/9.894, allocations: 0.7335 MB / 3.458 GB, free: 76.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/9.897, allocations: 0.5546 MB / 3.458 GB, free: 76.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0267/9.924, allocations: 14.36 MB / 3.472 GB, free: 68.76 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/9.924, allocations: 1.208 MB / 3.473 GB, free: 68.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00168/9.926, allocations: 380.4 kB / 3.474 GB, free: 68.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007403/9.927, allocations: 0.504 MB / 3.474 GB, free: 68.03 MB / 0.6198 GB Notification: Performance of SimCode: time 1.503e-06/9.927, allocations: 0 / 3.474 GB, free: 68.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/10.05, allocations: 59.11 MB / 3.532 GB, free: 42.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/10.05, allocations: 227.4 kB / 3.532 GB, free: 42.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.144/14.19, allocations: 4 kB / 3.532 GB, free: 42.13 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)