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.001206/0.001206, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5151/0.5151, allocations: 91.98 MB / 108.5 MB, free: 13.03 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.655/1.655, allocations: 223.2 MB / 354.3 MB, free: 12.19 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.001065/0.001065, allocations: 96.33 kB / 427.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003439, allocations: 8 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1696, allocations: 72.3 MB / 0.5689 GB, free: 1.848 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.995/5.165, allocations: 1.827 GB / 2.396 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003659/5.165, allocations: 92.58 kB / 2.396 GB, free: 27.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.851/8.016, allocations: 0.6869 GB / 3.083 GB, free: 22.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.244e-06/8.017, allocations: 0 / 3.083 GB, free: 22.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001123/8.017, allocations: 39.98 kB / 3.083 GB, free: 22.81 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.008078/8.025, allocations: 2.069 MB / 3.085 GB, free: 20.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/8.025, allocations: 8.031 kB / 3.085 GB, free: 20.68 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003267/8.025, allocations: 139.6 kB / 3.085 GB, free: 20.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005201/8.03, allocations: 0.8683 MB / 3.086 GB, free: 19.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004118/8.034, allocations: 1.145 MB / 3.087 GB, free: 18.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/8.035, allocations: 66 kB / 3.087 GB, free: 18.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/8.035, allocations: 87.98 kB / 3.087 GB, free: 18.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003369/8.038, allocations: 1.56 MB / 3.089 GB, free: 16.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/8.038, allocations: 0 / 3.089 GB, free: 16.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/8.038, allocations: 32 kB / 3.089 GB, free: 16.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-05/8.038, allocations: 49.97 kB / 3.089 GB, free: 16.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004346/8.043, allocations: 1.667 MB / 3.091 GB, free: 14.97 MB / 0.6042 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.008735/8.051, allocations: 5.051 MB / 3.096 GB, free: 9.699 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004156/8.056, allocations: 1.638 MB / 3.097 GB, free: 8.051 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/8.057, allocations: 0.9413 MB / 3.098 GB, free: 6.926 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002298/8.059, allocations: 0.969 MB / 3.099 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=95): time 4.779e-06/8.059, allocations: 0 / 3.099 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95): time 0.007768/8.067, allocations: 2.591 MB / 3.102 GB, free: 3.348 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/8.067, allocations: 64.41 kB / 3.102 GB, free: 3.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/8.069, allocations: 1.058 MB / 3.103 GB, free: 2.203 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001769/8.069, allocations: 41.7 kB / 3.103 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005087/8.07, allocations: 0.5527 MB / 3.103 GB, free: 1.598 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/8.07, allocations: 331.3 kB / 3.104 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-05/8.07, allocations: 16 kB / 3.104 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001219/8.07, allocations: 349.9 kB / 3.104 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/8.072, allocations: 0.7435 MB / 3.105 GB, free: 168 kB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002583/8.075, allocations: 0.9873 MB / 3.106 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002373/8.077, allocations: 0.7757 MB / 3.106 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/8.077, allocations: 0 / 3.106 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005951/8.083, allocations: 1.87 MB / 3.108 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/8.083, allocations: 11.94 kB / 3.108 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/8.083, allocations: 4.438 kB / 3.108 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.328e-05/8.083, allocations: 12 kB / 3.108 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/8.085, allocations: 351.4 kB / 3.109 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3e-05/8.085, allocations: 15.98 kB / 3.109 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/8.088, allocations: 254.7 kB / 3.109 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/8.088, allocations: 55.95 kB / 3.109 GB, free: 11.75 MB / 0.6198 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 () * Number of clocked 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.001088/8.089, allocations: 351.6 kB / 3.109 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003137/8.089, allocations: 130.4 kB / 3.109 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005697/8.095, allocations: 1.959 MB / 3.111 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/8.095, allocations: 11.98 kB / 3.111 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/8.095, allocations: 0 / 3.111 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/8.095, allocations: 7.969 kB / 3.111 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008493/8.104, allocations: 3.59 MB / 3.115 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/8.104, allocations: 8.094 kB / 3.115 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/8.106, allocations: 307.5 kB / 3.115 GB, free: 5.273 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.649e-05/8.106, allocations: 12 kB / 3.115 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/8.106, allocations: 43.95 kB / 3.115 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.446e-05/8.106, allocations: 11.95 kB / 3.115 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/8.106, allocations: 7.938 kB / 3.115 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008082/8.114, allocations: 3.257 MB / 3.118 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/8.115, allocations: 375 kB / 3.119 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/8.115, allocations: 24.12 kB / 3.119 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/8.117, allocations: 179.8 kB / 3.119 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/8.117, allocations: 76.8 kB / 3.119 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/8.117, allocations: 47.95 kB / 3.119 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001372/8.118, allocations: 0.8314 MB / 3.12 GB, free: 268 kB / 0.6198 GB Notification: Performance of sort global known variables: time 2.555e-06/8.118, allocations: 0 / 3.12 GB, free: 268 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.5366/8.655, allocations: 0.5193 MB / 3.12 GB, free: 99.19 MB / 0.6198 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) * Number of clocked states: 0 () * 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.01755/8.673, allocations: 6.81 MB / 3.127 GB, free: 96.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007425/8.68, allocations: 1.726 MB / 3.129 GB, free: 96.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/8.68, allocations: 1.156 kB / 3.129 GB, free: 96.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003487/8.684, allocations: 0.9034 MB / 3.13 GB, free: 96.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003731/8.688, allocations: 0.5687 MB / 3.13 GB, free: 96.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03802/8.726, allocations: 13.09 MB / 3.143 GB, free: 91.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/8.727, allocations: 1.224 MB / 3.144 GB, free: 90.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003182/8.73, allocations: 405.7 kB / 3.144 GB, free: 90.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/8.732, allocations: 0.5198 MB / 3.145 GB, free: 90.47 MB / 0.6198 GB Notification: Performance of SimCode: time 1.863e-06/8.732, allocations: 0 / 3.145 GB, free: 90.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1351/8.867, allocations: 60.68 MB / 3.204 GB, free: 88.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/8.867, allocations: 214.8 kB / 3.204 GB, free: 88.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.361/13.23, allocations: 4 kB / 3.204 GB, free: 88.43 MB / 0.6198 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)