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: translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.00125, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5099/0.5099, allocations: 90.91 MB / 99.35 MB, free: 2.148 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 221.5 MB / 343.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000948/0.000948, allocations: 94.69 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.22e-05/1.222e-05, allocations: 4 kB / 494.5 MB, free: 52.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1282, allocations: 72.31 MB / 0.5535 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.169, allocations: 342.2 MB / 0.8877 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/1.169, allocations: 87.5 kB / 0.8878 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8136/1.983, allocations: 254.8 MB / 1.137 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.463e-06/1.983, allocations: 0 / 1.137 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.996e-05/1.983, allocations: 19.94 kB / 1.137 GB, free: 120.6 MB / 0.5886 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.001542/1.985, allocations: 0.8336 MB / 1.137 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/1.985, allocations: 12.03 kB / 1.137 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/1.985, allocations: 63.25 kB / 1.137 GB, free: 119.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007424/1.986, allocations: 466.3 kB / 1.138 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/1.986, allocations: 8 kB / 1.138 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/1.986, allocations: 24 kB / 1.138 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003365/1.986, allocations: 189.5 kB / 1.138 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/1.986, allocations: 230.2 kB / 1.138 GB, free: 118.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/1.986, allocations: 3.953 kB / 1.138 GB, free: 118.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/1.986, allocations: 0 / 1.138 GB, free: 118.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.986, allocations: 8 kB / 1.138 GB, free: 118.7 MB / 0.5886 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.001801/1.988, allocations: 1.246 MB / 1.14 GB, free: 117.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/1.989, allocations: 234.6 kB / 1.14 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/1.989, allocations: 97.94 kB / 1.14 GB, free: 117 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/1.989, allocations: 0.5015 MB / 1.14 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/1.989, allocations: 42.77 kB / 1.14 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=25): time 1.793e-06/1.989, allocations: 0 / 1.14 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25): time 0.0006349/1.99, allocations: 273.7 kB / 1.141 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.657e-05/1.99, allocations: 55.41 kB / 1.141 GB, free: 116 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/1.99, allocations: 353.2 kB / 1.141 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/1.99, allocations: 25.7 kB / 1.141 GB, free: 115.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/1.99, allocations: 248.6 kB / 1.141 GB, free: 115.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/1.99, allocations: 94.69 kB / 1.141 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/1.99, allocations: 0 / 1.141 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.591e-05/1.99, allocations: 350.8 kB / 1.142 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/1.991, allocations: 79.98 kB / 1.142 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/1.991, allocations: 175.7 kB / 1.142 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/1.991, allocations: 114.7 kB / 1.142 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.991, allocations: 0 / 1.142 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006434/1.992, allocations: 339.1 kB / 1.142 GB, free: 114.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.378e-05/1.992, allocations: 278.9 kB / 1.143 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/1.992, allocations: 0 / 1.143 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/1.992, allocations: 36.84 kB / 1.143 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/1.992, allocations: 83.88 kB / 1.143 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003114/1.993, allocations: 0.564 MB / 1.143 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/1.993, allocations: 63.69 kB / 1.143 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/1.993, allocations: 19.98 kB / 1.143 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/1.993, allocations: 5.406 kB / 1.143 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004263/1.994, allocations: 215.8 kB / 1.144 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/1.994, allocations: 0 / 1.144 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.458e-06/1.994, allocations: 7.938 kB / 1.144 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/1.994, allocations: 87.89 kB / 1.144 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/1.994, allocations: 3.984 kB / 1.144 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004441/1.995, allocations: 55.8 kB / 1.144 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/1.995, allocations: 23.92 kB / 1.144 GB, free: 112.7 MB / 0.5886 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: checkValve_m_flow.a:VARIABLE(protected = true ) "Scaled pressure variable" type: Real 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 0.0001249/1.995, allocations: 108.9 kB / 1.144 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/1.995, allocations: 47.34 kB / 1.144 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006193/1.995, allocations: 344.1 kB / 1.144 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.433e-06/1.995, allocations: 0 / 1.144 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.995, allocations: 0 / 1.144 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.995, allocations: 4.141 kB / 1.144 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/1.997, allocations: 0.8084 MB / 1.145 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.997, allocations: 3.984 kB / 1.145 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/1.997, allocations: 55.91 kB / 1.145 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/1.997, allocations: 40.95 kB / 1.145 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/1.997, allocations: 7.938 kB / 1.145 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002125/1.997, allocations: 0.5563 MB / 1.146 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.997, allocations: 0 / 1.146 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000478/1.998, allocations: 471.5 kB / 1.146 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/1.998, allocations: 156.4 kB / 1.146 GB, free: 110 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.832e-05/1.998, allocations: 4 kB / 1.146 GB, free: 110 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/1.998, allocations: 43.86 kB / 1.146 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/1.998, allocations: 23.97 kB / 1.146 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/1.998, allocations: 8 kB / 1.146 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002325/1.999, allocations: 278.9 kB / 1.147 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.61e-07/1.999, allocations: 0 / 1.147 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0008831/1.999, allocations: 263.5 kB / 1.147 GB, free: 109.4 MB / 0.5886 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.0006246/2, allocations: 358.4 kB / 1.147 GB, free: 109 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006775/2.001, allocations: 386.2 kB / 1.148 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/2.001, allocations: 0 / 1.148 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/2.001, allocations: 135.8 kB / 1.148 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/2.002, allocations: 228.4 kB / 1.148 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000988/2.003, allocations: 0.5672 MB / 1.149 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/2.003, allocations: 0.8635 MB / 1.149 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004919/2.004, allocations: 124.1 kB / 1.15 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/2.004, allocations: 31.44 kB / 1.15 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/2.004, allocations: 0 / 1.15 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.01453/2.019, allocations: 10.12 MB / 1.159 GB, free: 96.69 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)