Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 289.9 MB / 297.4 MB, free: 6.438 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 172.8 kB / 366.7 MB, free: 1.711 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.2 MB / 0.626 GB, free: 7.199 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008518/0.000852, allocations: 87.45 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.793e-05/1.814e-05, allocations: 4 kB / 0.8597 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6769/0.6769, allocations: 116.3 MB / 0.9732 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.712, allocations: 379.1 MB / 1.343 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/1.712, allocations: 83.33 kB / 1.344 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.48/2.192, allocations: 249.8 MB / 1.587 GB, free: 3.941 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.362e-06/2.192, allocations: 0 / 1.587 GB, free: 3.941 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.003e-05/2.192, allocations: 19.98 kB / 1.587 GB, free: 3.922 MB / 0.9167 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.002112/2.194, allocations: 0.8255 MB / 1.588 GB, free: 3.051 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/2.195, allocations: 8.031 kB / 1.588 GB, free: 3.043 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002748/2.195, allocations: 71.2 kB / 1.588 GB, free: 2.973 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/2.196, allocations: 471.6 kB / 1.589 GB, free: 2.473 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/2.196, allocations: 8 kB / 1.589 GB, free: 2.465 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.416e-05/2.196, allocations: 24 kB / 1.589 GB, free: 2.441 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004214/2.196, allocations: 185.5 kB / 1.589 GB, free: 2.262 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/2.197, allocations: 222.2 kB / 1.589 GB, free: 2.035 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/2.197, allocations: 0 / 1.589 GB, free: 2.035 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/2.197, allocations: 7.984 kB / 1.589 GB, free: 2.027 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/2.197, allocations: 11.89 kB / 1.589 GB, free: 2.016 MB / 0.9167 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.002355/2.199, allocations: 1.247 MB / 1.59 GB, free: 0.6641 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005288/2.2, allocations: 234.5 kB / 1.591 GB, free: 436 kB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/2.2, allocations: 100.8 kB / 1.591 GB, free: 332 kB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005042/2.201, allocations: 0.4986 MB / 1.591 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/2.201, allocations: 40.16 kB / 1.591 GB, free: 15.67 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/2.201, allocations: 4 kB / 1.591 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25): time 0.0007884/2.201, allocations: 264.3 kB / 1.592 GB, free: 15.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/2.201, allocations: 55.41 kB / 1.592 GB, free: 15.33 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/2.202, allocations: 357.2 kB / 1.592 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/2.202, allocations: 25.7 kB / 1.592 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/2.202, allocations: 244.6 kB / 1.592 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.085e-05/2.202, allocations: 78.75 kB / 1.592 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/2.202, allocations: 4 kB / 1.592 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001407/2.202, allocations: 358.8 kB / 1.593 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/2.203, allocations: 79.73 kB / 1.593 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/2.203, allocations: 166.5 kB / 1.593 GB, free: 13.98 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/2.203, allocations: 123.4 kB / 1.593 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/2.203, allocations: 0 / 1.593 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000784/2.204, allocations: 344.6 kB / 1.593 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/2.204, allocations: 271 kB / 1.594 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/2.204, allocations: 0 / 1.594 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002119/2.204, allocations: 36.83 kB / 1.594 GB, free: 13.19 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/2.205, allocations: 79.83 kB / 1.594 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004463/2.205, allocations: 0.5718 MB / 1.594 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005347/2.206, allocations: 71.67 kB / 1.594 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/2.206, allocations: 19.98 kB / 1.594 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/2.206, allocations: 4 kB / 1.594 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004911/2.206, allocations: 222.5 kB / 1.595 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-06/2.206, allocations: 0 / 1.595 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.252e-06/2.206, allocations: 4 kB / 1.595 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/2.207, allocations: 91.88 kB / 1.595 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-06/2.207, allocations: 0 / 1.595 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/2.207, allocations: 51.8 kB / 1.595 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/2.207, allocations: 19.98 kB / 1.595 GB, free: 12.04 MB / 0.9323 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.0001587/2.207, allocations: 108.9 kB / 1.595 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.533e-05/2.207, allocations: 47.39 kB / 1.595 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000778/2.208, allocations: 352.8 kB / 1.595 GB, free: 11.53 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/2.208, allocations: 4.141 kB / 1.595 GB, free: 11.53 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/2.208, allocations: 0 / 1.595 GB, free: 11.53 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/2.208, allocations: 7.969 kB / 1.595 GB, free: 11.52 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/2.21, allocations: 0.8104 MB / 1.596 GB, free: 10.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/2.21, allocations: 0 / 1.596 GB, free: 10.65 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/2.21, allocations: 51.91 kB / 1.596 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001401/2.21, allocations: 40.83 kB / 1.596 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/2.21, allocations: 8.125 kB / 1.596 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003629/2.21, allocations: 0.5563 MB / 1.597 GB, free: 9.969 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/2.21, allocations: 3.938 kB / 1.597 GB, free: 9.965 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006547/2.211, allocations: 466.2 kB / 1.597 GB, free: 9.453 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/2.211, allocations: 152.4 kB / 1.597 GB, free: 9.285 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/2.211, allocations: 0 / 1.597 GB, free: 9.285 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/2.212, allocations: 39.95 kB / 1.597 GB, free: 9.246 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/2.212, allocations: 23.97 kB / 1.597 GB, free: 9.223 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/2.212, allocations: 11.98 kB / 1.597 GB, free: 9.211 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003023/2.212, allocations: 278.9 kB / 1.598 GB, free: 8.941 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/2.212, allocations: 0 / 1.598 GB, free: 8.941 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009559/2.213, allocations: 279.4 kB / 1.598 GB, free: 8.668 MB / 0.9323 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.0007728/2.214, allocations: 360.5 kB / 1.598 GB, free: 8.312 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008145/2.215, allocations: 370.3 kB / 1.599 GB, free: 7.949 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/2.215, allocations: 0 / 1.599 GB, free: 7.949 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002907/2.215, allocations: 140 kB / 1.599 GB, free: 7.812 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/2.216, allocations: 228 kB / 1.599 GB, free: 7.586 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/2.218, allocations: 0.562 MB / 1.599 GB, free: 6.988 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/2.218, allocations: 0.8713 MB / 1.6 GB, free: 6.09 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006055/2.219, allocations: 128.4 kB / 1.6 GB, free: 5.965 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.512e-05/2.219, allocations: 31.42 kB / 1.6 GB, free: 5.934 MB / 0.9323 GB Notification: Performance of SimCode: time 2.9e-07/2.219, allocations: 0 / 1.6 GB, free: 5.934 MB / 0.9323 GB Notification: Performance of Templates: time 0.02023/2.239, allocations: 10.11 MB / 1.61 GB, free: 11.93 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)