Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve",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.001464/0.001463, allocations: 181.7 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.5404/0.5404, allocations: 91.99 MB / 108.5 MB, free: 13.07 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.581/1.581, allocations: 223.1 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.001009/0.001009, allocations: 95.27 kB / 427.4 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003584, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1744, allocations: 72.3 MB / 0.5689 GB, free: 1.832 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.284/1.459, allocations: 342.9 MB / 0.9038 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/1.459, allocations: 90.7 kB / 0.9039 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.9918/2.451, allocations: 257.4 MB / 1.155 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.196e-06/2.451, allocations: 0 / 1.155 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001345/2.451, allocations: 18.19 kB / 1.155 GB, free: 128 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.003125/2.454, allocations: 0.9377 MB / 1.156 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/2.454, allocations: 8.031 kB / 1.156 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001871/2.455, allocations: 62.53 kB / 1.156 GB, free: 127 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/2.455, allocations: 67.25 kB / 1.156 GB, free: 126.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/2.456, allocations: 471 kB / 1.157 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/2.456, allocations: 32.66 kB / 1.157 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.006e-05/2.456, allocations: 39.19 kB / 1.157 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006709/2.457, allocations: 309.9 kB / 1.157 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/2.457, allocations: 0 / 1.157 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/2.457, allocations: 19.95 kB / 1.157 GB, free: 126 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/2.457, allocations: 12 kB / 1.157 GB, free: 126 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006988/2.458, allocations: 270.5 kB / 1.157 GB, free: 125.8 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.002574/2.46, allocations: 1.319 MB / 1.159 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006927/2.461, allocations: 278.4 kB / 1.159 GB, free: 124 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004854/2.462, allocations: 0.4977 MB / 1.159 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/2.462, allocations: 42.55 kB / 1.159 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 2.726e-06/2.462, allocations: 0 / 1.159 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.00189/2.464, allocations: 0.5717 MB / 1.16 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/2.464, allocations: 55.41 kB / 1.16 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/2.464, allocations: 405.2 kB / 1.16 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.527e-05/2.464, allocations: 37.7 kB / 1.161 GB, free: 122.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/2.464, allocations: 240.8 kB / 1.161 GB, free: 122 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.527e-05/2.465, allocations: 89.09 kB / 1.161 GB, free: 122 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/2.465, allocations: 8 kB / 1.161 GB, free: 121.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001634/2.465, allocations: 354.8 kB / 1.161 GB, free: 121.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/2.465, allocations: 121.1 kB / 1.161 GB, free: 121.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/2.465, allocations: 222.8 kB / 1.161 GB, free: 121.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/2.466, allocations: 144.5 kB / 1.162 GB, free: 121.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/2.466, allocations: 0 / 1.162 GB, free: 121.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009809/2.467, allocations: 417.8 kB / 1.162 GB, free: 120.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001448/2.467, allocations: 280.4 kB / 1.162 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/2.467, allocations: 0 / 1.162 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003129/2.467, allocations: 44.83 kB / 1.162 GB, free: 120.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/2.468, allocations: 71.89 kB / 1.162 GB, free: 120.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004503/2.468, allocations: 0.5678 MB / 1.163 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/2.469, allocations: 75.64 kB / 1.163 GB, free: 119.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/2.469, allocations: 15.98 kB / 1.163 GB, free: 119.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/2.469, allocations: 4 kB / 1.163 GB, free: 119.6 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006923/2.47, allocations: 320.6 kB / 1.163 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/2.47, allocations: 4 kB / 1.163 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/2.47, allocations: 0 / 1.163 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/2.47, allocations: 83.89 kB / 1.163 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/2.47, allocations: 7.984 kB / 1.163 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005539/2.471, allocations: 63.73 kB / 1.164 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/2.471, allocations: 19.98 kB / 1.164 GB, free: 119.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002735/2.471, allocations: 251.2 kB / 1.164 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/2.471, allocations: 51.34 kB / 1.164 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000855/2.472, allocations: 429 kB / 1.164 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/2.472, allocations: 4 kB / 1.164 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/2.472, allocations: 3.938 kB / 1.164 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/2.472, allocations: 7.984 kB / 1.164 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/2.473, allocations: 0.9465 MB / 1.165 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/2.473, allocations: 0 / 1.165 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/2.474, allocations: 48.09 kB / 1.165 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001693/2.474, allocations: 52.77 kB / 1.165 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/2.474, allocations: 8 kB / 1.165 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000247/2.474, allocations: 0.5601 MB / 1.166 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/2.474, allocations: 0 / 1.166 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006995/2.475, allocations: 0.5346 MB / 1.166 GB, free: 116 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/2.475, allocations: 160.3 kB / 1.166 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/2.475, allocations: 8 kB / 1.167 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/2.475, allocations: 55.78 kB / 1.167 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/2.476, allocations: 27.92 kB / 1.167 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/2.476, allocations: 15.88 kB / 1.167 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003048/2.476, allocations: 318.9 kB / 1.167 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/2.476, allocations: 0 / 1.167 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009532/2.477, allocations: 267.7 kB / 1.167 GB, free: 115.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001678/2.479, allocations: 1.629 MB / 1.169 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001089/2.48, allocations: 490.9 kB / 1.169 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/2.48, allocations: 0 / 1.169 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000368/2.48, allocations: 176 kB / 1.169 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/2.481, allocations: 246 kB / 1.17 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/2.483, allocations: 1.652 MB / 1.171 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/2.484, allocations: 0.8591 MB / 1.172 GB, free: 110 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004717/2.484, allocations: 112.2 kB / 1.172 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/2.484, allocations: 183.4 kB / 1.172 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.393e-06/2.484, allocations: 0 / 1.172 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03759/2.522, allocations: 16.14 MB / 1.188 GB, free: 93.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/2.522, allocations: 245.8 kB / 1.188 GB, free: 93.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.041/5.563, allocations: 0 / 1.188 GB, free: 93.64 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)