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.001112/0.001112, allocations: 107.1 kB / 15.98 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001066, allocations: 197.6 kB / 16.91 MB, free: 5.738 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.327/1.327, allocations: 222.9 MB / 240.6 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6678/0.6678, allocations: 115.3 MB / 406.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 64.8 kB / 493.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1368, allocations: 76.19 MB / 0.556 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.2753/0.4122, allocations: 29.09 MB / 0.5844 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008095/0.4203, allocations: 6.834 MB / 0.5911 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008964/0.4212, allocations: 48.34 kB / 0.5912 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.4226, allocations: 0.6084 MB / 0.5918 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.4258, allocations: 1.358 MB / 0.5931 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.4285, allocations: 1.056 MB / 0.5941 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002977/0.4315, allocations: 2.491 MB / 0.5965 GB, free: 9.906 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.4327, allocations: 0.8114 MB / 0.5973 GB, free: 9.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.4344, allocations: 1.028 MB / 0.5983 GB, free: 9.285 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.4355, allocations: 0.8442 MB / 0.5992 GB, free: 9.016 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.4356, allocations: 69.69 kB / 0.5992 GB, free: 9.012 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.4375, allocations: 0.8345 MB / 0.6 GB, free: 8.742 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.4378, allocations: 280.1 kB / 0.6003 GB, free: 8.609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005142/0.4383, allocations: 0.5609 MB / 0.6009 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002316/0.4406, allocations: 1.593 MB / 0.6024 GB, free: 7.758 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4406, allocations: 4 kB / 0.6024 GB, free: 7.754 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4406, allocations: 0 / 0.6024 GB, free: 7.754 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.4407, allocations: 0 / 0.6024 GB, free: 7.754 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.002669/0.4433, allocations: 1.566 MB / 0.6039 GB, free: 22.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.4434, allocations: 9.75 kB / 0.604 GB, free: 22.71 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.4435, allocations: 116.1 kB / 0.6041 GB, free: 22.62 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003546/0.4471, allocations: 0.599 MB / 0.6047 GB, free: 22.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.4483, allocations: 0.8013 MB / 0.6054 GB, free: 22.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/0.4484, allocations: 58 kB / 0.6055 GB, free: 22.01 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.4485, allocations: 80.09 kB / 0.6056 GB, free: 21.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.4509, allocations: 1.095 MB / 0.6066 GB, free: 21.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.4509, allocations: 6.531 kB / 0.6066 GB, free: 21.46 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.752e-05/0.451, allocations: 35.34 kB / 0.6067 GB, free: 21.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.4511, allocations: 18.16 kB / 0.6067 GB, free: 21.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/0.454, allocations: 0.9969 MB / 0.6077 GB, free: 21.17 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.005286/0.4593, allocations: 4.94 MB / 0.6125 GB, free: 17.37 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/0.4621, allocations: 0.8966 MB / 0.6134 GB, free: 17.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.4634, allocations: 495.3 kB / 0.6138 GB, free: 16.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/0.4645, allocations: 1.588 MB / 0.6154 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001572/0.4661, allocations: 0.5812 MB / 0.616 GB, free: 14.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=61): time 2.805e-06/0.4661, allocations: 0 / 0.616 GB, free: 14.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=61): time 0.004451/0.4706, allocations: 1.477 MB / 0.6174 GB, free: 14.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.4706, allocations: 62.67 kB / 0.6175 GB, free: 13.97 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.4723, allocations: 1.116 MB / 0.6186 GB, free: 13.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.099e-05/0.4724, allocations: 39.2 kB / 0.6186 GB, free: 13.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/0.4728, allocations: 0.5506 MB / 0.6191 GB, free: 12.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.473, allocations: 203.3 kB / 0.6193 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.4732, allocations: 168.6 kB / 0.6195 GB, free: 12.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4734, allocations: 336.8 kB / 0.6198 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.4748, allocations: 453.2 kB / 0.6202 GB, free: 12.06 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.4764, allocations: 0.7193 MB / 0.6209 GB, free: 11.51 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/0.4793, allocations: 1.117 MB / 0.622 GB, free: 10.78 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.4793, allocations: 1.375 kB / 0.622 GB, free: 10.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003382/0.4827, allocations: 1.275 MB / 0.6233 GB, free: 10.15 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4827, allocations: 11.94 kB / 0.6233 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.4827, allocations: 7.5 kB / 0.6233 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.4828, allocations: 12.5 kB / 0.6233 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.4839, allocations: 268.5 kB / 0.6236 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/0.484, allocations: 18.64 kB / 0.6236 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.4853, allocations: 200.5 kB / 0.6238 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.4854, allocations: 45.39 kB / 0.6238 GB, free: 9.941 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.0005212/0.486, allocations: 293.4 kB / 0.6241 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.4862, allocations: 131.1 kB / 0.6242 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/0.4899, allocations: 1.354 MB / 0.6255 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/0.4899, allocations: 15.8 kB / 0.6256 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4899, allocations: 0 / 0.6256 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.4899, allocations: 0 / 0.6256 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004984/0.4949, allocations: 2.378 MB / 0.6279 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.495, allocations: 2.438 kB / 0.6279 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.496, allocations: 189 kB / 0.6281 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.496, allocations: 5.031 kB / 0.6281 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.079e-05/0.4961, allocations: 26.44 kB / 0.6281 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.4961, allocations: 2.812 kB / 0.6281 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4961, allocations: 2.844 kB / 0.6281 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004905/0.501, allocations: 1.982 MB / 0.63 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004863/0.5015, allocations: 277.2 kB / 0.6303 GB, free: 6.035 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.5017, allocations: 12.88 kB / 0.6303 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.5028, allocations: 122 kB / 0.6304 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.5029, allocations: 60.98 kB / 0.6305 GB, free: 5.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.802e-05/0.503, allocations: 31.59 kB / 0.6305 GB, free: 5.926 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00101/0.504, allocations: 0.7631 MB / 0.6313 GB, free: 5.273 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.504, allocations: 0 / 0.6313 GB, free: 5.273 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001215/0.5053, allocations: 347.5 kB / 0.6316 GB, free: 4.934 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.007257/0.5125, allocations: 3.081 MB / 0.6346 GB, free: 2.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003963/0.5165, allocations: 1.187 MB / 0.6358 GB, free: 0.832 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5166, allocations: 0 / 0.6358 GB, free: 0.832 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.5182, allocations: 0.5774 MB / 0.6363 GB, free: 264 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.5207, allocations: 443.9 kB / 0.6367 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02001/0.5407, allocations: 10.55 MB / 0.647 GB, free: 4.773 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006952/0.5414, allocations: 1.108 MB / 0.6481 GB, free: 3.637 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001099/0.5426, allocations: 244.6 kB / 0.6484 GB, free: 3.395 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006589/0.5432, allocations: 467.2 kB / 0.6488 GB, free: 2.941 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5432, allocations: 0 / 0.6488 GB, free: 2.941 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.061/0.6042, allocations: 30.06 MB / 0.6782 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/0.6045, allocations: 250.3 kB / 0.6784 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/3.224, allocations: 0 / 0.6784 GB, free: 5.047 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)