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.001678/0.001678, allocations: 96.11 kB / 15.69 MB, free: 480 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.002128/0.002128, allocations: 175.9 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.46/2.46, allocations: 223.2 MB / 240.5 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.149/1.149, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005841/0.0005842, allocations: 15.98 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3123, allocations: 77.11 MB / 0.5567 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05044/0.3629, allocations: 24.56 MB / 0.5807 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6928/1.056, allocations: 5.926 MB / 0.5865 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002508/1.058, allocations: 36.97 kB / 0.5865 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004381/1.063, allocations: 0.6403 MB / 0.5871 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009197/1.072, allocations: 1.211 MB / 0.5883 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008308/1.08, allocations: 1.303 MB / 0.5896 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007321/1.088, allocations: 1.57 MB / 0.5911 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00296/1.091, allocations: 0.6751 MB / 0.5918 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004948/1.096, allocations: 0.8354 MB / 0.5926 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003771/1.1, allocations: 0.5664 MB / 0.5932 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006013/1.1, allocations: 36.66 kB / 0.5932 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004739/1.105, allocations: 0.5254 MB / 0.5937 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008519/1.106, allocations: 235.7 kB / 0.5939 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/1.107, allocations: 226.9 kB / 0.5942 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005766/1.113, allocations: 1.018 MB / 0.5951 GB, free: 11.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/1.113, allocations: 4 kB / 0.5952 GB, free: 11.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.087e-06/1.113, allocations: 1.188 kB / 0.5952 GB, free: 11.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.264e-05/1.113, allocations: 0 / 0.5952 GB, free: 11.32 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.008354/1.121, allocations: 1.375 MB / 0.5965 GB, free: 26.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001259/1.122, allocations: 8.75 kB / 0.5965 GB, free: 26.48 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007491/1.122, allocations: 115.8 kB / 0.5966 GB, free: 26.44 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00692/1.129, allocations: 0.6281 MB / 0.5972 GB, free: 26.35 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003743/1.133, allocations: 0.7697 MB / 0.598 GB, free: 26.01 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/1.133, allocations: 59.03 kB / 0.598 GB, free: 26.01 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003317/1.134, allocations: 75.88 kB / 0.5981 GB, free: 26 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005075/1.139, allocations: 1.097 MB / 0.5992 GB, free: 25.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/1.139, allocations: 9.25 kB / 0.5992 GB, free: 25.74 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/1.139, allocations: 34.89 kB / 0.5992 GB, free: 25.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.102e-05/1.139, allocations: 18.94 kB / 0.5992 GB, free: 25.74 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005577/1.145, allocations: 1.019 MB / 0.6002 GB, free: 25.71 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.01322/1.158, allocations: 4.962 MB / 0.6051 GB, free: 22.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005641/1.164, allocations: 0.9558 MB / 0.606 GB, free: 22.53 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002174/1.166, allocations: 1.599 MB / 0.6076 GB, free: 20.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003204/1.169, allocations: 0.5819 MB / 0.6081 GB, free: 20.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=61): time 6.662e-06/1.169, allocations: 4 kB / 0.6081 GB, free: 20.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=61): time 0.00949/1.179, allocations: 1.507 MB / 0.6096 GB, free: 20.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/1.179, allocations: 64.33 kB / 0.6097 GB, free: 20.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003509/1.182, allocations: 1.107 MB / 0.6108 GB, free: 20.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003582/1.183, allocations: 46.17 kB / 0.6108 GB, free: 20.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008703/1.184, allocations: 0.5428 MB / 0.6113 GB, free: 20.09 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004738/1.184, allocations: 203.5 kB / 0.6115 GB, free: 19.97 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-05/1.184, allocations: 17.88 kB / 0.6115 GB, free: 19.97 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002705/1.184, allocations: 340.5 kB / 0.6119 GB, free: 19.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002823/1.187, allocations: 459.1 kB / 0.6123 GB, free: 19.65 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003179/1.191, allocations: 0.7218 MB / 0.613 GB, free: 19.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002963/1.194, allocations: 0.4918 MB / 0.6135 GB, free: 19.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/1.194, allocations: 1.438 kB / 0.6135 GB, free: 19.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.007884/1.201, allocations: 1.281 MB / 0.6147 GB, free: 18.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.791e-05/1.202, allocations: 10.03 kB / 0.6148 GB, free: 18.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/1.202, allocations: 11.09 kB / 0.6148 GB, free: 18.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.195e-05/1.202, allocations: 14.03 kB / 0.6148 GB, free: 18.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/1.204, allocations: 278.6 kB / 0.615 GB, free: 18.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.095e-05/1.204, allocations: 15.44 kB / 0.6151 GB, free: 18.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/1.207, allocations: 203.5 kB / 0.6153 GB, free: 18.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002622/1.207, allocations: 45.8 kB / 0.6153 GB, free: 18.76 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.001178/1.208, allocations: 305.8 kB / 0.6156 GB, free: 18.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005365/1.209, allocations: 120.2 kB / 0.6157 GB, free: 18.54 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006894/1.216, allocations: 1.384 MB / 0.6171 GB, free: 18.14 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.104e-05/1.216, allocations: 10.81 kB / 0.6171 GB, free: 18.14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/1.216, allocations: 1.375 kB / 0.6171 GB, free: 18.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/1.216, allocations: 3.984 kB / 0.6171 GB, free: 18.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009526/1.226, allocations: 2.391 MB / 0.6194 GB, free: 17.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/1.226, allocations: 3.953 kB / 0.6194 GB, free: 17.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/1.227, allocations: 193 kB / 0.6196 GB, free: 17.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-05/1.227, allocations: 3.219 kB / 0.6196 GB, free: 17.15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/1.227, allocations: 34.84 kB / 0.6196 GB, free: 17.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.604e-05/1.227, allocations: 7.5 kB / 0.6196 GB, free: 17.13 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.227, allocations: 2.875 kB / 0.6196 GB, free: 17.13 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007648/1.235, allocations: 2.082 MB / 0.6217 GB, free: 16.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/1.236, allocations: 284.1 kB / 0.6219 GB, free: 16.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/1.237, allocations: 21.67 kB / 0.622 GB, free: 16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/1.238, allocations: 124.4 kB / 0.6221 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/1.238, allocations: 46.45 kB / 0.6221 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.239, allocations: 41.73 kB / 0.6222 GB, free: 15.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001955/1.241, allocations: 0.7516 MB / 0.6229 GB, free: 15.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.81e-07/1.241, allocations: 4 kB / 0.6229 GB, free: 15.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002653/1.243, allocations: 344.4 kB / 0.6232 GB, free: 15.43 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.01187/1.255, allocations: 3.58 MB / 0.6267 GB, free: 13.15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006461/1.262, allocations: 1.123 MB / 0.6278 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/1.262, allocations: 0.7812 kB / 0.6278 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003132/1.265, allocations: 0.5877 MB / 0.6284 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003937/1.269, allocations: 417.5 kB / 0.6288 GB, free: 12.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03561/1.304, allocations: 12.53 MB / 0.641 GB, free: 15.33 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/1.306, allocations: 1.129 MB / 0.6421 GB, free: 14.18 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002512/1.309, allocations: 244.7 kB / 0.6424 GB, free: 13.93 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/1.31, allocations: 467.2 kB / 0.6428 GB, free: 13.48 MB / 478.1 MB Notification: Performance of SimCode: time 2.735e-06/1.31, allocations: 0 / 0.6428 GB, free: 13.48 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/1.41, allocations: 29.09 MB / 0.6712 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003199/1.41, allocations: 228.4 kB / 0.6714 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.901/6.312, allocations: 0 / 0.6714 GB, free: 0.6211 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: