Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.119/2.119, allocations: 251.1 MB / 266.7 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001397, allocations: 186.1 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.528/2.528, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009681/0.0009676, allocations: 92.17 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006258/0.000626, allocations: 13.47 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2086, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.153/1.361, allocations: 371.1 MB / 1.262 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/1.362, allocations: 97.33 kB / 1.262 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.452/2.814, allocations: 243.9 MB / 1.5 GB, free: 258.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.206e-06/2.814, allocations: 0 / 1.5 GB, free: 258.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.514e-05/2.814, allocations: 19.52 kB / 1.5 GB, free: 258.1 MB / 0.8855 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.002523/2.816, allocations: 0.9341 MB / 1.501 GB, free: 257.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/2.817, allocations: 8.031 kB / 1.501 GB, free: 257.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/2.817, allocations: 64.19 kB / 1.501 GB, free: 257 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/2.818, allocations: 482.6 kB / 1.502 GB, free: 256.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/2.818, allocations: 29.03 kB / 1.502 GB, free: 256.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.344e-05/2.818, allocations: 44.36 kB / 1.502 GB, free: 256.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009215/2.819, allocations: 306.6 kB / 1.502 GB, free: 256.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/2.819, allocations: 7.938 kB / 1.502 GB, free: 256.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.533e-05/2.819, allocations: 8 kB / 1.502 GB, free: 256.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/2.819, allocations: 8 kB / 1.502 GB, free: 256.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009917/2.82, allocations: 274.4 kB / 1.502 GB, free: 255.8 MB / 0.8855 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.003119/2.823, allocations: 1.331 MB / 1.504 GB, free: 254.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008519/2.824, allocations: 264.7 kB / 1.504 GB, free: 254.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/2.825, allocations: 140.8 kB / 1.504 GB, free: 254 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000429/2.825, allocations: 0.4975 MB / 1.504 GB, free: 253.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/2.825, allocations: 34.56 kB / 1.504 GB, free: 253.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 3.346e-06/2.825, allocations: 0 / 1.504 GB, free: 253.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=25): time 0.00281/2.828, allocations: 0.573 MB / 1.505 GB, free: 252.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/2.828, allocations: 59.39 kB / 1.505 GB, free: 252.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/2.829, allocations: 462.1 kB / 1.505 GB, free: 252.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.308e-05/2.829, allocations: 37.64 kB / 1.506 GB, free: 252.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/2.829, allocations: 244.9 kB / 1.506 GB, free: 251.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.41e-05/2.829, allocations: 85.56 kB / 1.506 GB, free: 251.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/2.829, allocations: 8 kB / 1.506 GB, free: 251.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001008/2.829, allocations: 358.7 kB / 1.506 GB, free: 251.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004826/2.83, allocations: 120.5 kB / 1.506 GB, free: 251.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005815/2.83, allocations: 229.7 kB / 1.507 GB, free: 251.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/2.831, allocations: 136.8 kB / 1.507 GB, free: 251 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/2.831, allocations: 0 / 1.507 GB, free: 251 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001561/2.832, allocations: 418.7 kB / 1.507 GB, free: 250.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.907e-05/2.833, allocations: 119.3 kB / 1.507 GB, free: 250.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/2.833, allocations: 0 / 1.507 GB, free: 250.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004673/2.833, allocations: 55.94 kB / 1.507 GB, free: 250.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/2.834, allocations: 79.88 kB / 1.507 GB, free: 250.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004997/2.834, allocations: 0.5563 MB / 1.508 GB, free: 249.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009661/2.835, allocations: 75.59 kB / 1.508 GB, free: 249.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/2.835, allocations: 23.97 kB / 1.508 GB, free: 249.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/2.835, allocations: 5.25 kB / 1.508 GB, free: 249.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001128/2.836, allocations: 308.6 kB / 1.508 GB, free: 249.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/2.836, allocations: 0 / 1.508 GB, free: 249.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.233e-06/2.836, allocations: 4 kB / 1.508 GB, free: 249.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000703/2.837, allocations: 91.81 kB / 1.508 GB, free: 249.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/2.837, allocations: 0 / 1.508 GB, free: 249.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000879/2.838, allocations: 67.78 kB / 1.508 GB, free: 249.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.254e-05/2.838, allocations: 16 kB / 1.508 GB, free: 249.1 MB / 0.8855 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.0003587/2.839, allocations: 246.7 kB / 1.509 GB, free: 248.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/2.839, allocations: 47.34 kB / 1.509 GB, free: 248.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/2.84, allocations: 444.8 kB / 1.509 GB, free: 248.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/2.84, allocations: 4 kB / 1.509 GB, free: 248.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/2.84, allocations: 0 / 1.509 GB, free: 248.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/2.84, allocations: 0 / 1.509 GB, free: 248.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/2.842, allocations: 0.9471 MB / 1.51 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/2.842, allocations: 4 kB / 1.51 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000424/2.843, allocations: 55.89 kB / 1.51 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002586/2.843, allocations: 47.36 kB / 1.51 GB, free: 247.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/2.843, allocations: 4.266 kB / 1.51 GB, free: 247.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003633/2.844, allocations: 0.5679 MB / 1.511 GB, free: 246.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/2.844, allocations: 3.938 kB / 1.511 GB, free: 246.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/2.845, allocations: 0.4899 MB / 1.511 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/2.845, allocations: 156.3 kB / 1.511 GB, free: 246 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.684e-05/2.845, allocations: 11.94 kB / 1.511 GB, free: 245.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007061/2.846, allocations: 47.86 kB / 1.511 GB, free: 245.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/2.846, allocations: 27.91 kB / 1.511 GB, free: 245.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/2.846, allocations: 8 kB / 1.511 GB, free: 245.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004798/2.847, allocations: 318.9 kB / 1.512 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.71e-07/2.847, allocations: 0 / 1.512 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001215/2.848, allocations: 279.6 kB / 1.512 GB, free: 245.3 MB / 0.8855 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.0008463/2.849, allocations: 374.2 kB / 1.512 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001903/2.851, allocations: 483.6 kB / 1.513 GB, free: 244.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/2.851, allocations: 0 / 1.513 GB, free: 244.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006476/2.851, allocations: 175.7 kB / 1.513 GB, free: 244.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/2.854, allocations: 271.3 kB / 1.513 GB, free: 244 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/2.856, allocations: 0.9733 MB / 1.514 GB, free: 243 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/2.856, allocations: 0.8591 MB / 1.515 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00079/2.857, allocations: 108.2 kB / 1.515 GB, free: 242 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/2.857, allocations: 43.42 kB / 1.515 GB, free: 242 MB / 0.8855 GB Notification: Performance of SimCode: time 1.262e-06/2.857, allocations: 0 / 1.515 GB, free: 242 MB / 0.8855 GB Notification: Performance of Templates: time 0.02827/2.885, allocations: 11.04 MB / 1.526 GB, free: 231.1 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)