Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008563/0.0008564, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00097/0.0009697, allocations: 184.5 kB / 16.92 MB, free: 6.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7102/0.7102, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003224, allocations: 15.98 kB / 496 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 77.52 MB / 0.56 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3014/0.4396, allocations: 28.42 MB / 0.5878 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.4497, allocations: 6.824 MB / 0.5945 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.4511, allocations: 40.94 kB / 0.5945 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.4528, allocations: 0.5929 MB / 0.5951 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004127/0.457, allocations: 1.354 MB / 0.5964 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003253/0.4602, allocations: 1.035 MB / 0.5974 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005076/0.4653, allocations: 3.224 MB / 0.6006 GB, free: 9.656 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/0.467, allocations: 0.7049 MB / 0.6012 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.4694, allocations: 0.9181 MB / 0.6021 GB, free: 9.348 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/0.4712, allocations: 0.8204 MB / 0.6029 GB, free: 9.098 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002723/0.4715, allocations: 36.91 kB / 0.603 GB, free: 9.098 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.4741, allocations: 0.7542 MB / 0.6037 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004072/0.4746, allocations: 252 kB / 0.604 GB, free: 8.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008724/0.4754, allocations: 0.543 MB / 0.6045 GB, free: 8.434 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002952/0.4784, allocations: 1.553 MB / 0.606 GB, free: 8.004 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4784, allocations: 0 / 0.606 GB, free: 8.004 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.4784, allocations: 0 / 0.606 GB, free: 8.004 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.4785, allocations: 5.25 kB / 0.606 GB, free: 8 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002492/0.4809, allocations: 1.363 MB / 0.6073 GB, free: 23.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.481, allocations: 9.406 kB / 0.6073 GB, free: 23.07 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.4811, allocations: 115.7 kB / 0.6075 GB, free: 22.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003649/0.4848, allocations: 0.6274 MB / 0.6081 GB, free: 22.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.486, allocations: 0.8053 MB / 0.6089 GB, free: 22.4 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/0.4861, allocations: 54.44 kB / 0.6089 GB, free: 22.38 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.4862, allocations: 85.84 kB / 0.609 GB, free: 22.34 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/0.4886, allocations: 1.11 MB / 0.6101 GB, free: 21.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.4886, allocations: 2.375 kB / 0.6101 GB, free: 21.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.187e-05/0.4887, allocations: 31.62 kB / 0.6101 GB, free: 21.81 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.4887, allocations: 18.06 kB / 0.6101 GB, free: 21.81 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003084/0.4918, allocations: 1.028 MB / 0.6111 GB, free: 21.55 MB / 462.1 MB 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.005484/0.4973, allocations: 4.979 MB / 0.616 GB, free: 17.42 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002937/0.5003, allocations: 0.9607 MB / 0.6169 GB, free: 17 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.5017, allocations: 495.7 kB / 0.6174 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.5028, allocations: 1.602 MB / 0.619 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001621/0.5044, allocations: 0.594 MB / 0.6195 GB, free: 14.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=61): time 2.424e-06/0.5044, allocations: 0 / 0.6195 GB, free: 14.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=61): time 0.004828/0.5092, allocations: 1.517 MB / 0.621 GB, free: 13.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.5093, allocations: 57.62 kB / 0.6211 GB, free: 13.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.5108, allocations: 1.117 MB / 0.6222 GB, free: 13.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.565e-05/0.5109, allocations: 38.7 kB / 0.6222 GB, free: 13.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004863/0.5114, allocations: 0.5475 MB / 0.6227 GB, free: 12.74 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.5116, allocations: 214.2 kB / 0.6229 GB, free: 12.56 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.5118, allocations: 68.22 kB / 0.623 GB, free: 12.51 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5119, allocations: 337.4 kB / 0.6233 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/0.5135, allocations: 462 kB / 0.6238 GB, free: 11.99 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.5152, allocations: 0.7301 MB / 0.6245 GB, free: 11.45 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/0.5183, allocations: 1.139 MB / 0.6256 GB, free: 10.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.5183, allocations: 2.062 kB / 0.6256 GB, free: 10.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003748/0.5221, allocations: 1.304 MB / 0.6269 GB, free: 10.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.5221, allocations: 8.781 kB / 0.6269 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.5221, allocations: 6.781 kB / 0.6269 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.5222, allocations: 13.41 kB / 0.6269 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.5234, allocations: 269.2 kB / 0.6272 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.509e-05/0.5235, allocations: 15.84 kB / 0.6272 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.525, allocations: 213.7 kB / 0.6274 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.5251, allocations: 44.52 kB / 0.6274 GB, free: 9.91 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006429/0.5257, allocations: 292.2 kB / 0.6277 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.5259, allocations: 123.9 kB / 0.6278 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/0.5298, allocations: 1.381 MB / 0.6292 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/0.5299, allocations: 9.75 kB / 0.6292 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5299, allocations: 3.938 kB / 0.6292 GB, free: 8.938 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.5299, allocations: 6.922 kB / 0.6292 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005117/0.535, allocations: 2.396 MB / 0.6315 GB, free: 7.438 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.535, allocations: 2.75 kB / 0.6315 GB, free: 7.438 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.5361, allocations: 195.8 kB / 0.6317 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.5361, allocations: 4.469 kB / 0.6317 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-05/0.5362, allocations: 26.59 kB / 0.6317 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.5362, allocations: 3.25 kB / 0.6317 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.5362, allocations: 15.8 kB / 0.6318 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005415/0.5416, allocations: 2.012 MB / 0.6337 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005713/0.5422, allocations: 283.3 kB / 0.634 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002627/0.5425, allocations: 24.67 kB / 0.634 GB, free: 5.508 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.5436, allocations: 127.8 kB / 0.6341 GB, free: 5.383 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.5438, allocations: 52.36 kB / 0.6342 GB, free: 5.332 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.15e-05/0.5439, allocations: 39.97 kB / 0.6342 GB, free: 5.293 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001044/0.5449, allocations: 0.7638 MB / 0.635 GB, free: 4.523 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5449, allocations: 0 / 0.635 GB, free: 4.523 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001263/0.5462, allocations: 343.6 kB / 0.6353 GB, free: 4.188 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007491/0.5537, allocations: 3.101 MB / 0.6383 GB, free: 1.246 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003751/0.5575, allocations: 1.138 MB / 0.6394 GB, free: 116 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.5575, allocations: 192 / 0.6394 GB, free: 116 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001799/0.5593, allocations: 0.5812 MB / 0.64 GB, free: 15.53 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/0.5623, allocations: 433.4 kB / 0.6404 GB, free: 15.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02525/0.5876, allocations: 10.68 MB / 0.6509 GB, free: 3.887 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.5888, allocations: 1.1 MB / 0.6519 GB, free: 2.758 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001314/0.5902, allocations: 244.6 kB / 0.6522 GB, free: 2.516 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007671/0.5909, allocations: 463.2 kB / 0.6526 GB, free: 2.066 MB / 478.1 MB Notification: Performance of SimCode: time 1.292e-06/0.591, allocations: 0 / 0.6526 GB, free: 2.066 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05383/0.6448, allocations: 28.94 MB / 0.6809 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.645, allocations: 246.8 kB / 0.6811 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.112/3.758, allocations: 2.875 kB / 0.6811 GB, free: 5.293 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)