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.000717/0.000717, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007209/0.0007209, allocations: 175.6 kB / 16.58 MB, free: 6.852 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.168/1.168, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5949/0.5949, allocations: 113.7 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002637/0.0002638, allocations: 8 kB / 493.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1141, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02188/0.136, allocations: 26.9 MB / 0.5832 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2224/0.3584, allocations: 6.459 MB / 0.5895 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.3597, allocations: 42.66 kB / 0.5895 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.3611, allocations: 0.5569 MB / 0.5901 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003279/0.3644, allocations: 1.186 MB / 0.5912 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.3673, allocations: 0.9331 MB / 0.5921 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004145/0.3714, allocations: 2.772 MB / 0.5948 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.3729, allocations: 0.6397 MB / 0.5955 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/0.3749, allocations: 0.8928 MB / 0.5963 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.3765, allocations: 0.7627 MB / 0.5971 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002514/0.3767, allocations: 34.81 kB / 0.5971 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.3786, allocations: 0.4883 MB / 0.5976 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003659/0.379, allocations: 236.4 kB / 0.5978 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004361/0.3794, allocations: 230.9 kB / 0.598 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.381, allocations: 1.028 MB / 0.599 GB, free: 10.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.381, allocations: 0 / 0.599 GB, free: 10.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.381, allocations: 0.75 kB / 0.599 GB, free: 10.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.686e-05/0.3811, allocations: 1.062 kB / 0.599 GB, free: 10.25 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.002717/0.3838, allocations: 1.37 MB / 0.6004 GB, free: 25.42 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3838, allocations: 13.66 kB / 0.6004 GB, free: 25.41 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/0.384, allocations: 115.8 kB / 0.6005 GB, free: 25.38 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003036/0.387, allocations: 0.631 MB / 0.6011 GB, free: 25.28 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.3883, allocations: 0.764 MB / 0.6019 GB, free: 24.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/0.3884, allocations: 55.84 kB / 0.6019 GB, free: 24.93 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.3885, allocations: 73.69 kB / 0.602 GB, free: 24.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.3907, allocations: 1.112 MB / 0.6031 GB, free: 24.65 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.3907, allocations: 6.125 kB / 0.6031 GB, free: 24.65 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.035e-05/0.3908, allocations: 31.88 kB / 0.6031 GB, free: 24.65 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.3908, allocations: 18.84 kB / 0.6031 GB, free: 24.65 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.3933, allocations: 1.016 MB / 0.6041 GB, free: 24.6 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.004746/0.3981, allocations: 4.972 MB / 0.609 GB, free: 21.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/0.4005, allocations: 0.9566 MB / 0.6099 GB, free: 21.37 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.4017, allocations: 496.8 kB / 0.6104 GB, free: 21.35 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.4027, allocations: 1.606 MB / 0.6119 GB, free: 19.56 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001367/0.4041, allocations: 0.5801 MB / 0.6125 GB, free: 19.49 MB / 462.1 MB Notification: Performance of pre-optimization done (n=61): time 2.134e-06/0.4041, allocations: 1.094 kB / 0.6125 GB, free: 19.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=61): time 0.003815/0.4079, allocations: 1.515 MB / 0.614 GB, free: 19.19 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.4079, allocations: 57.84 kB / 0.6141 GB, free: 19.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.4092, allocations: 1.11 MB / 0.6151 GB, free: 18.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.908e-05/0.4093, allocations: 40.45 kB / 0.6152 GB, free: 18.76 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.4096, allocations: 0.5444 MB / 0.6157 GB, free: 18.52 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.4098, allocations: 210 kB / 0.6159 GB, free: 18.38 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.4098, allocations: 19.41 kB / 0.6159 GB, free: 18.37 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.4099, allocations: 337.1 kB / 0.6162 GB, free: 18.04 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.4111, allocations: 463.6 kB / 0.6167 GB, free: 17.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.4124, allocations: 0.7197 MB / 0.6174 GB, free: 17.31 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.4136, allocations: 0.493 MB / 0.6179 GB, free: 17.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.4136, allocations: 2.75 kB / 0.6179 GB, free: 17.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002788/0.4164, allocations: 1.294 MB / 0.6191 GB, free: 16.47 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4164, allocations: 8.375 kB / 0.6191 GB, free: 16.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.4164, allocations: 7.719 kB / 0.6192 GB, free: 16.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.4165, allocations: 13.34 kB / 0.6192 GB, free: 16.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.4175, allocations: 274.3 kB / 0.6194 GB, free: 16.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.4175, allocations: 15.97 kB / 0.6194 GB, free: 16.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.4186, allocations: 210.7 kB / 0.6196 GB, free: 16.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.239e-05/0.4187, allocations: 41.14 kB / 0.6197 GB, free: 16.27 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 ($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 (100): * Single equations (assignments): 100 * 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.0004096/0.4191, allocations: 302.2 kB / 0.62 GB, free: 16.05 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.4193, allocations: 123 kB / 0.6201 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003009/0.4223, allocations: 1.385 MB / 0.6214 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.4223, allocations: 5.906 kB / 0.6214 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4223, allocations: 3.5 kB / 0.6214 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.4223, allocations: 3.984 kB / 0.6215 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00386/0.4262, allocations: 2.388 MB / 0.6238 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.4262, allocations: 4.188 kB / 0.6238 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008308/0.4271, allocations: 197.9 kB / 0.624 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.4271, allocations: 8.438 kB / 0.624 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.4271, allocations: 24.91 kB / 0.624 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.4271, allocations: 4.062 kB / 0.624 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4272, allocations: 2.531 kB / 0.624 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003891/0.431, allocations: 2.004 MB / 0.626 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004132/0.4315, allocations: 282.8 kB / 0.6262 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.4317, allocations: 22.45 kB / 0.6263 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008405/0.4325, allocations: 127.8 kB / 0.6264 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.4326, allocations: 46.23 kB / 0.6264 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.721e-05/0.4327, allocations: 38.88 kB / 0.6265 GB, free: 12.31 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008186/0.4335, allocations: 0.7579 MB / 0.6272 GB, free: 11.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.4335, allocations: 0 / 0.6272 GB, free: 11.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001021/0.4345, allocations: 342.2 kB / 0.6275 GB, free: 11.82 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 (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.00555/0.4401, allocations: 3.089 MB / 0.6306 GB, free: 9.906 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002741/0.4428, allocations: 1.133 MB / 0.6317 GB, free: 8.777 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4429, allocations: 0 / 0.6317 GB, free: 8.777 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.4442, allocations: 0.5775 MB / 0.6322 GB, free: 8.199 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.4462, allocations: 439.7 kB / 0.6326 GB, free: 7.773 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.46, allocations: 7.641 MB / 0.6401 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000647/0.4606, allocations: 1.104 MB / 0.6412 GB, free: 14.64 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001011/0.4616, allocations: 248.6 kB / 0.6414 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005914/0.4622, allocations: 463.2 kB / 0.6419 GB, free: 13.94 MB / 478.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4623, allocations: 3.938 kB / 0.6419 GB, free: 13.94 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04207/0.5043, allocations: 29.12 MB / 0.6703 GB, free: 1.285 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.5045, allocations: 241.4 kB / 0.6705 GB, free: 1.035 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/2.669, allocations: 0 / 0.6705 GB, free: 1.035 MB / 494.1 MB (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/linux/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) Environment - environmentSimulation: