Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.792/1.792, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.00106, allocations: 183.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.2 MB / 0.6626 GB, free: 4.332 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008125/0.0008124, allocations: 103 kB / 0.7808 GB, free: 43.67 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004488, allocations: 12 kB / 0.9088 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6622/0.6627, allocations: 120.3 MB / 1.026 GB, free: 56.75 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9511/1.614, allocations: 382.2 MB / 1.4 GB, free: 221 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/1.614, allocations: 93.44 kB / 1.4 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4732/2.087, allocations: 255.6 MB / 1.649 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.134e-06/2.087, allocations: 0 / 1.649 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.853e-05/2.088, allocations: 16 kB / 1.649 GB, free: 15.02 MB / 0.9323 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.002659/2.09, allocations: 0.9268 MB / 1.65 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/2.09, allocations: 8.031 kB / 1.65 GB, free: 14.03 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/2.091, allocations: 68.19 kB / 1.65 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/2.092, allocations: 488.5 kB / 1.651 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/2.092, allocations: 33.03 kB / 1.651 GB, free: 13.42 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.013e-05/2.092, allocations: 36.38 kB / 1.651 GB, free: 13.38 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006806/2.092, allocations: 306.6 kB / 1.651 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/2.092, allocations: 3.938 kB / 1.651 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/2.093, allocations: 12 kB / 1.651 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/2.093, allocations: 16 kB / 1.651 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006775/2.093, allocations: 274.4 kB / 1.651 GB, free: 12.78 MB / 0.9323 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.002512/2.096, allocations: 1.329 MB / 1.653 GB, free: 11.33 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/2.096, allocations: 265.7 kB / 1.653 GB, free: 11.06 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/2.097, allocations: 140.8 kB / 1.653 GB, free: 10.92 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005051/2.097, allocations: 0.5025 MB / 1.654 GB, free: 10.31 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/2.097, allocations: 30.56 kB / 1.654 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=25): time 2.875e-06/2.097, allocations: 0 / 1.654 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25): time 0.001832/2.099, allocations: 0.5889 MB / 1.654 GB, free: 9.656 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/2.099, allocations: 55.62 kB / 1.654 GB, free: 9.59 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/2.1, allocations: 458.1 kB / 1.655 GB, free: 9.133 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/2.1, allocations: 37.64 kB / 1.655 GB, free: 9.09 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/2.1, allocations: 244.7 kB / 1.655 GB, free: 8.844 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.776e-05/2.1, allocations: 86.75 kB / 1.655 GB, free: 8.758 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/2.1, allocations: 4 kB / 1.655 GB, free: 8.754 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001946/2.1, allocations: 362.7 kB / 1.655 GB, free: 8.391 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/2.101, allocations: 118.1 kB / 1.655 GB, free: 8.277 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/2.101, allocations: 218.2 kB / 1.656 GB, free: 8.027 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005811/2.102, allocations: 276.8 kB / 1.656 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/2.102, allocations: 0 / 1.656 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001032/2.103, allocations: 425.5 kB / 1.656 GB, free: 7.324 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.906e-05/2.103, allocations: 109.3 kB / 1.656 GB, free: 7.207 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/2.103, allocations: 0 / 1.656 GB, free: 7.207 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003583/2.103, allocations: 56.75 kB / 1.657 GB, free: 7.148 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/2.104, allocations: 75.89 kB / 1.657 GB, free: 7.074 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005271/2.104, allocations: 0.5602 MB / 1.657 GB, free: 6.488 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005735/2.105, allocations: 71.64 kB / 1.657 GB, free: 6.418 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/2.105, allocations: 19.98 kB / 1.657 GB, free: 6.398 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/2.105, allocations: 4 kB / 1.657 GB, free: 6.395 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007003/2.106, allocations: 307.7 kB / 1.658 GB, free: 6.094 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/2.106, allocations: 0 / 1.658 GB, free: 6.094 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/2.106, allocations: 7.938 kB / 1.658 GB, free: 6.086 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/2.106, allocations: 95.81 kB / 1.658 GB, free: 5.992 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/2.106, allocations: 4 kB / 1.658 GB, free: 5.988 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/2.106, allocations: 55.8 kB / 1.658 GB, free: 5.934 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/2.107, allocations: 23.92 kB / 1.658 GB, free: 5.91 MB / 0.9323 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.0003292/2.107, allocations: 253 kB / 1.658 GB, free: 5.652 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/2.107, allocations: 51.34 kB / 1.658 GB, free: 5.602 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009552/2.108, allocations: 427.9 kB / 1.658 GB, free: 5.168 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/2.108, allocations: 4 kB / 1.658 GB, free: 5.164 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/2.108, allocations: 4 kB / 1.658 GB, free: 5.16 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/2.108, allocations: 3.984 kB / 1.658 GB, free: 5.156 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/2.11, allocations: 0.951 MB / 1.659 GB, free: 4.137 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/2.11, allocations: 4 kB / 1.659 GB, free: 4.133 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/2.11, allocations: 51.91 kB / 1.659 GB, free: 4.082 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001625/2.11, allocations: 48.89 kB / 1.659 GB, free: 4.031 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/2.11, allocations: 8 kB / 1.659 GB, free: 4.023 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003427/2.11, allocations: 0.5602 MB / 1.66 GB, free: 3.438 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/2.111, allocations: 3.938 kB / 1.66 GB, free: 3.434 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007474/2.111, allocations: 499.1 kB / 1.66 GB, free: 2.914 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/2.111, allocations: 160.5 kB / 1.661 GB, free: 2.738 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/2.112, allocations: 4 kB / 1.661 GB, free: 2.734 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/2.112, allocations: 51.92 kB / 1.661 GB, free: 2.684 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.743e-05/2.112, allocations: 31.84 kB / 1.661 GB, free: 2.652 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/2.112, allocations: 12 kB / 1.661 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003687/2.112, allocations: 314.9 kB / 1.661 GB, free: 2.336 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.81e-07/2.112, allocations: 4 kB / 1.661 GB, free: 2.332 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009782/2.113, allocations: 275.6 kB / 1.661 GB, free: 2.062 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 () * 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.000868/2.114, allocations: 371.2 kB / 1.662 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001188/2.116, allocations: 479.6 kB / 1.662 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/2.116, allocations: 4 kB / 1.662 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003865/2.116, allocations: 164 kB / 1.662 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/2.117, allocations: 258.5 kB / 1.662 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/2.119, allocations: 0.9733 MB / 1.663 GB, free: 15.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/2.119, allocations: 0.8553 MB / 1.664 GB, free: 14.92 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000491/2.12, allocations: 116.2 kB / 1.664 GB, free: 14.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/2.12, allocations: 47.42 kB / 1.664 GB, free: 14.76 MB / 0.948 GB Notification: Performance of SimCode: time 2.41e-07/2.12, allocations: 0 / 1.664 GB, free: 14.76 MB / 0.948 GB Notification: Performance of Templates: time 0.02437/2.144, allocations: 11.21 MB / 1.675 GB, free: 3.707 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)