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.001215/0.001215, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4731/0.4731, allocations: 90.81 MB / 104.5 MB, free: 9.793 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.327/1.327, allocations: 221.3 MB / 348.3 MB, free: 448 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009898/0.0009897, allocations: 109.1 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.27e-05/4.274e-05, allocations: 0 / 0.4897 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3948, allocations: 72.3 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6725/1.067, allocations: 342.8 MB / 0.8951 GB, free: 9.223 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/1.068, allocations: 79.95 kB / 0.8952 GB, free: 9.184 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.78/1.848, allocations: 256.7 MB / 1.146 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.052e-06/1.848, allocations: 0 / 1.146 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.747e-05/1.848, allocations: 16 kB / 1.146 GB, free: 37.06 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.001302/1.849, allocations: 0.8372 MB / 1.147 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.849, allocations: 11.98 kB / 1.147 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.204e-05/1.849, allocations: 66.53 kB / 1.147 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.807e-05/1.849, allocations: 63.25 kB / 1.147 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006843/1.85, allocations: 471.5 kB / 1.147 GB, free: 35.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/1.85, allocations: 28.78 kB / 1.147 GB, free: 35.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.293e-05/1.85, allocations: 40 kB / 1.147 GB, free: 35.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004352/1.851, allocations: 271.7 kB / 1.148 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/1.851, allocations: 0 / 1.148 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/1.851, allocations: 15.95 kB / 1.148 GB, free: 35.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/1.851, allocations: 4 kB / 1.148 GB, free: 35.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/1.851, allocations: 203 kB / 1.148 GB, free: 34.97 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.001789/1.853, allocations: 1.322 MB / 1.149 GB, free: 33.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/1.853, allocations: 238.5 kB / 1.149 GB, free: 33.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/1.853, allocations: 104.8 kB / 1.149 GB, free: 33.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002891/1.854, allocations: 0.4947 MB / 1.15 GB, free: 32.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/1.854, allocations: 42.55 kB / 1.15 GB, free: 32.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/1.854, allocations: 0 / 1.15 GB, free: 32.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.0004905/1.854, allocations: 274.2 kB / 1.15 GB, free: 32.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/1.854, allocations: 55.34 kB / 1.15 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/1.855, allocations: 403.9 kB / 1.151 GB, free: 31.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/1.855, allocations: 33.7 kB / 1.151 GB, free: 31.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/1.855, allocations: 252.9 kB / 1.151 GB, free: 31.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/1.855, allocations: 94.67 kB / 1.151 GB, free: 31.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/1.855, allocations: 4 kB / 1.151 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.73e-05/1.855, allocations: 358.8 kB / 1.151 GB, free: 31.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/1.855, allocations: 83.98 kB / 1.151 GB, free: 30.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/1.855, allocations: 178.2 kB / 1.152 GB, free: 30.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/1.855, allocations: 111.9 kB / 1.152 GB, free: 30.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/1.855, allocations: 0 / 1.152 GB, free: 30.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005424/1.856, allocations: 344.4 kB / 1.152 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.7e-05/1.856, allocations: 274.9 kB / 1.152 GB, free: 30 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.856, allocations: 0 / 1.152 GB, free: 30 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002241/1.856, allocations: 44.81 kB / 1.152 GB, free: 29.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/1.857, allocations: 75.89 kB / 1.152 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003164/1.857, allocations: 0.5679 MB / 1.153 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/1.857, allocations: 67.61 kB / 1.153 GB, free: 29.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/1.857, allocations: 24.05 kB / 1.153 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/1.857, allocations: 4 kB / 1.153 GB, free: 29.19 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003624/1.858, allocations: 242.5 kB / 1.153 GB, free: 28.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-06/1.858, allocations: 0 / 1.153 GB, free: 28.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-06/1.858, allocations: 0 / 1.153 GB, free: 28.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/1.858, allocations: 87.88 kB / 1.153 GB, free: 28.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/1.858, allocations: 4 kB / 1.153 GB, free: 28.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004051/1.859, allocations: 63.78 kB / 1.153 GB, free: 28.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/1.859, allocations: 16 kB / 1.153 GB, free: 28.79 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 () * 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 8.302e-05/1.859, allocations: 124.9 kB / 1.154 GB, free: 28.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/1.859, allocations: 59.28 kB / 1.154 GB, free: 28.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005809/1.859, allocations: 359.7 kB / 1.154 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/1.859, allocations: 0 / 1.154 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.859, allocations: 4 kB / 1.154 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/1.859, allocations: 0 / 1.154 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009743/1.86, allocations: 0.8804 MB / 1.155 GB, free: 27.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.86, allocations: 4.125 kB / 1.155 GB, free: 27.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/1.861, allocations: 55.89 kB / 1.155 GB, free: 27.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00014/1.861, allocations: 40.84 kB / 1.155 GB, free: 27.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/1.861, allocations: 15.92 kB / 1.155 GB, free: 27.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002172/1.861, allocations: 0.5601 MB / 1.156 GB, free: 26.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.861, allocations: 4.031 kB / 1.156 GB, free: 26.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/1.862, allocations: 487.7 kB / 1.156 GB, free: 26.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/1.862, allocations: 156.4 kB / 1.156 GB, free: 25.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/1.862, allocations: 8 kB / 1.156 GB, free: 25.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/1.862, allocations: 47.86 kB / 1.156 GB, free: 25.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/1.862, allocations: 19.92 kB / 1.156 GB, free: 25.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/1.862, allocations: 15.98 kB / 1.156 GB, free: 25.78 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002653/1.863, allocations: 309.6 kB / 1.157 GB, free: 25.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/1.863, allocations: 0 / 1.157 GB, free: 25.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007703/1.863, allocations: 283.6 kB / 1.157 GB, free: 25.21 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 () * 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.001148/1.864, allocations: 1.539 MB / 1.158 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006714/1.865, allocations: 398.4 kB / 1.159 GB, free: 23.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.865, allocations: 4 kB / 1.159 GB, free: 23.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/1.865, allocations: 147.6 kB / 1.159 GB, free: 23.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/1.867, allocations: 246.9 kB / 1.159 GB, free: 22.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/1.868, allocations: 0.7156 MB / 1.16 GB, free: 22.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/1.868, allocations: 0.8717 MB / 1.161 GB, free: 21.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004637/1.869, allocations: 148.8 kB / 1.161 GB, free: 21.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/1.869, allocations: 167.4 kB / 1.161 GB, free: 20.88 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/1.869, allocations: 0 / 1.161 GB, free: 20.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/1.899, allocations: 17.34 MB / 1.178 GB, free: 3.816 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001331/1.899, allocations: 219.9 kB / 1.178 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/4.36, allocations: 0 / 1.178 GB, free: 3.59 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)