Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",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.001197/0.001197, allocations: 172.8 kB / 8 MB, free: 1.074 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5299/0.5299, allocations: 90.91 MB / 99.35 MB, free: 2.195 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.58/1.58, allocations: 221.5 MB / 343.2 MB, free: 1.559 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.001099/0.001099, allocations: 95.14 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.242e-05/2.245e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1495, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.223/5.372, allocations: 1.827 GB / 2.38 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/5.373, allocations: 83.95 kB / 2.38 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.477/7.85, allocations: 0.678 GB / 3.058 GB, free: 97.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/7.85, allocations: 0 / 3.058 GB, free: 97.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001554/7.85, allocations: 44.66 kB / 3.058 GB, free: 97.8 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.007006/7.857, allocations: 1.861 MB / 3.06 GB, free: 97.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/7.857, allocations: 9.469 kB / 3.06 GB, free: 97.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005457/7.863, allocations: 0.8777 MB / 3.061 GB, free: 96.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005028/7.868, allocations: 1.131 MB / 3.062 GB, free: 96.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.641e-05/7.868, allocations: 27.38 kB / 3.062 GB, free: 96.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005431/7.868, allocations: 57.27 kB / 3.062 GB, free: 96.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002442/7.871, allocations: 1.002 MB / 3.063 GB, free: 96.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/7.874, allocations: 1.166 MB / 3.064 GB, free: 96.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/7.874, allocations: 3.938 kB / 3.064 GB, free: 96.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/7.874, allocations: 0 / 3.064 GB, free: 96.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-05/7.874, allocations: 44.64 kB / 3.064 GB, free: 96.44 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.009121/7.883, allocations: 4.822 MB / 3.069 GB, free: 94.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/7.885, allocations: 1.067 MB / 3.07 GB, free: 94.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000687/7.885, allocations: 0.5706 MB / 3.071 GB, free: 93.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/7.887, allocations: 0.9406 MB / 3.071 GB, free: 92.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000921/7.887, allocations: 0.685 MB / 3.072 GB, free: 92.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=95): time 3.657e-06/7.887, allocations: 0 / 3.072 GB, free: 92.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95): time 0.002907/7.89, allocations: 1.283 MB / 3.073 GB, free: 92.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/7.89, allocations: 65.56 kB / 3.073 GB, free: 92.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/7.892, allocations: 0.8122 MB / 3.074 GB, free: 91.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001353/7.892, allocations: 32.92 kB / 3.074 GB, free: 91.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004554/7.892, allocations: 0.5541 MB / 3.075 GB, free: 91.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/7.893, allocations: 311 kB / 3.075 GB, free: 91.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-05/7.893, allocations: 3.312 kB / 3.075 GB, free: 91.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.345e-05/7.893, allocations: 343.4 kB / 3.075 GB, free: 90.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006748/7.893, allocations: 476.3 kB / 3.076 GB, free: 90.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000824/7.894, allocations: 0.6958 MB / 3.077 GB, free: 90.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000815/7.895, allocations: 0.5059 MB / 3.077 GB, free: 90.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/7.895, allocations: 3.312 kB / 3.077 GB, free: 90.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001963/7.897, allocations: 1.274 MB / 3.078 GB, free: 89.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/7.897, allocations: 8.906 kB / 3.078 GB, free: 89.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/7.897, allocations: 3.562 kB / 3.078 GB, free: 89.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/7.897, allocations: 6.844 kB / 3.078 GB, free: 89.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/7.899, allocations: 352.2 kB / 3.079 GB, free: 89.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/7.899, allocations: 14.88 kB / 3.079 GB, free: 89.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/7.901, allocations: 219.2 kB / 3.079 GB, free: 89.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/7.901, allocations: 57.33 kB / 3.079 GB, free: 89.54 MB / 0.6042 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.0002587/7.901, allocations: 131.2 kB / 3.079 GB, free: 89.41 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001787/7.903, allocations: 1.173 MB / 3.08 GB, free: 88.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/7.903, allocations: 118.6 kB / 3.08 GB, free: 88.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002235/7.905, allocations: 1.367 MB / 3.082 GB, free: 88.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/7.905, allocations: 10.66 kB / 3.082 GB, free: 88.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/7.905, allocations: 3.75 kB / 3.082 GB, free: 88.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/7.905, allocations: 3.328 kB / 3.082 GB, free: 88.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004426/7.91, allocations: 2.895 MB / 3.085 GB, free: 86.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/7.91, allocations: 3.844 kB / 3.085 GB, free: 86.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/7.912, allocations: 314.6 kB / 3.085 GB, free: 86.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.759e-05/7.912, allocations: 7.656 kB / 3.085 GB, free: 86.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/7.912, allocations: 27.61 kB / 3.085 GB, free: 86.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.799e-06/7.912, allocations: 15.69 kB / 3.085 GB, free: 86.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/7.912, allocations: 6.812 kB / 3.085 GB, free: 86.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002868/7.915, allocations: 2.389 MB / 3.087 GB, free: 84.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/7.915, allocations: 351.2 kB / 3.088 GB, free: 84.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/7.916, allocations: 11.98 kB / 3.088 GB, free: 84.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/7.917, allocations: 172.6 kB / 3.088 GB, free: 84.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/7.917, allocations: 67.34 kB / 3.088 GB, free: 84.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.301e-05/7.917, allocations: 47.95 kB / 3.088 GB, free: 84.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007084/7.918, allocations: 0.6266 MB / 3.088 GB, free: 83.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/7.918, allocations: 0 / 3.088 GB, free: 83.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001627/7.92, allocations: 475.2 kB / 3.089 GB, free: 83.18 MB / 0.6042 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.005687/7.925, allocations: 6.08 MB / 3.095 GB, free: 77.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001626/7.927, allocations: 1.151 MB / 3.096 GB, free: 76.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/7.927, allocations: 4 kB / 3.096 GB, free: 76.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007458/7.928, allocations: 0.6117 MB / 3.097 GB, free: 75.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/7.93, allocations: 434.1 kB / 3.097 GB, free: 75.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/7.946, allocations: 3.288 MB / 3.1 GB, free: 72.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007143/7.946, allocations: 1.219 MB / 3.101 GB, free: 70.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001924/7.948, allocations: 365.7 kB / 3.102 GB, free: 70.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008586/7.949, allocations: 0.5031 MB / 3.102 GB, free: 69.93 MB / 0.6042 GB Notification: Performance of SimCode: time 8.11e-07/7.949, allocations: 0 / 3.102 GB, free: 69.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06878/8.018, allocations: 41.99 MB / 3.143 GB, free: 28.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/8.018, allocations: 173.3 kB / 3.143 GB, free: 28.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.297/11.32, allocations: 0 / 3.143 GB, free: 28.36 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)