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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.585/1.585, allocations: 289.8 MB / 297.1 MB, free: 6.605 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.001619/0.001619, allocations: 185.2 kB / 366.3 MB, free: 1.984 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.769/1.769, allocations: 205.2 MB / 0.6256 GB, free: 5.805 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.001071/0.001071, allocations: 88.39 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.236e-06/8.256e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7679/0.7679, allocations: 116.3 MB / 0.9725 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.928/1.696, allocations: 379 MB / 1.343 GB, free: 111.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/1.696, allocations: 79.52 kB / 1.343 GB, free: 111.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.4874/2.184, allocations: 251 MB / 1.588 GB, free: 392 kB / 0.948 GB Notification: Performance of Transformations before backend: time 4.5e-05/2.184, allocations: 16 kB / 1.588 GB, free: 376 kB / 0.948 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.3815/2.565, allocations: 0.8368 MB / 1.589 GB, free: 348 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/2.565, allocations: 11.53 kB / 1.589 GB, free: 348 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/2.566, allocations: 65.56 kB / 1.589 GB, free: 348 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007926/2.566, allocations: 464.8 kB / 1.589 GB, free: 347.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/2.566, allocations: 7.625 kB / 1.589 GB, free: 347.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/2.567, allocations: 23.03 kB / 1.589 GB, free: 347.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003726/2.567, allocations: 196.1 kB / 1.589 GB, free: 347.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/2.567, allocations: 229.3 kB / 1.59 GB, free: 347.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/2.567, allocations: 0 / 1.59 GB, free: 347.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/2.567, allocations: 0 / 1.59 GB, free: 347.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/2.567, allocations: 9.875 kB / 1.59 GB, free: 347.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/2.569, allocations: 1.243 MB / 1.591 GB, free: 347.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/2.569, allocations: 227.5 kB / 1.591 GB, free: 347 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/2.569, allocations: 101.4 kB / 1.591 GB, free: 347 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003474/2.57, allocations: 0.4986 MB / 1.592 GB, free: 346.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/2.57, allocations: 40.05 kB / 1.592 GB, free: 346.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/2.57, allocations: 0 / 1.592 GB, free: 346.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.000653/2.571, allocations: 272 kB / 1.592 GB, free: 346.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/2.571, allocations: 51.41 kB / 1.592 GB, free: 346.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/2.571, allocations: 358.9 kB / 1.592 GB, free: 346.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/2.571, allocations: 28.89 kB / 1.592 GB, free: 346.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.626e-05/2.571, allocations: 179.4 kB / 1.593 GB, free: 346.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/2.571, allocations: 84.16 kB / 1.593 GB, free: 346 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/2.571, allocations: 0 / 1.593 GB, free: 346 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.258e-05/2.571, allocations: 356 kB / 1.593 GB, free: 345.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/2.571, allocations: 81.52 kB / 1.593 GB, free: 345.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/2.572, allocations: 176 kB / 1.593 GB, free: 345.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/2.572, allocations: 118.2 kB / 1.593 GB, free: 345.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/2.572, allocations: 0 / 1.593 GB, free: 345.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006737/2.572, allocations: 345.5 kB / 1.594 GB, free: 345.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.848e-05/2.573, allocations: 270.5 kB / 1.594 GB, free: 345.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/2.573, allocations: 2.594 kB / 1.594 GB, free: 345.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002209/2.573, allocations: 43.47 kB / 1.594 GB, free: 345.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/2.573, allocations: 77.88 kB / 1.594 GB, free: 345.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004234/2.574, allocations: 0.5774 MB / 1.595 GB, free: 344.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005233/2.574, allocations: 61.58 kB / 1.595 GB, free: 344.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/2.574, allocations: 18.39 kB / 1.595 GB, free: 344.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.413e-06/2.574, allocations: 6.219 kB / 1.595 GB, free: 344.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004675/2.575, allocations: 222.2 kB / 1.595 GB, free: 344.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/2.575, allocations: 0 / 1.595 GB, free: 344.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.958e-06/2.575, allocations: 7.688 kB / 1.595 GB, free: 344.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/2.575, allocations: 81.73 kB / 1.595 GB, free: 344.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/2.575, allocations: 3.5 kB / 1.595 GB, free: 344.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/2.576, allocations: 67.86 kB / 1.595 GB, free: 344.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/2.576, allocations: 17.61 kB / 1.595 GB, free: 344.7 MB / 0.948 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.0001458/2.576, allocations: 110.4 kB / 1.595 GB, free: 344.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.138e-05/2.576, allocations: 46.81 kB / 1.595 GB, free: 344.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007425/2.577, allocations: 350 kB / 1.596 GB, free: 344.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/2.577, allocations: 3.969 kB / 1.596 GB, free: 344.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/2.577, allocations: 0 / 1.596 GB, free: 344.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/2.577, allocations: 3.844 kB / 1.596 GB, free: 344.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/2.578, allocations: 0.8185 MB / 1.596 GB, free: 344.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/2.578, allocations: 0 / 1.596 GB, free: 344.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/2.578, allocations: 57.97 kB / 1.596 GB, free: 344.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/2.578, allocations: 38.06 kB / 1.596 GB, free: 344.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/2.578, allocations: 3.75 kB / 1.596 GB, free: 344.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002608/2.579, allocations: 0.5622 MB / 1.597 GB, free: 343.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/2.579, allocations: 3.375 kB / 1.597 GB, free: 343.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000522/2.579, allocations: 476.1 kB / 1.597 GB, free: 343.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/2.579, allocations: 152 kB / 1.598 GB, free: 343.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.754e-05/2.579, allocations: 10.38 kB / 1.598 GB, free: 343.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/2.58, allocations: 49.33 kB / 1.598 GB, free: 343.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/2.58, allocations: 23.52 kB / 1.598 GB, free: 343.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/2.58, allocations: 14.03 kB / 1.598 GB, free: 343.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002374/2.58, allocations: 270.4 kB / 1.598 GB, free: 343.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000875/2.581, allocations: 268.8 kB / 1.598 GB, free: 343.2 MB / 0.948 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.0006768/2.582, allocations: 364.6 kB / 1.599 GB, free: 343.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007127/2.582, allocations: 389 kB / 1.599 GB, free: 343.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/2.582, allocations: 0 / 1.599 GB, free: 343.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002428/2.583, allocations: 141.6 kB / 1.599 GB, free: 343.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/2.584, allocations: 219.8 kB / 1.599 GB, free: 343.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/2.585, allocations: 0.5863 MB / 1.6 GB, free: 342.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/2.586, allocations: 0.9197 MB / 1.601 GB, free: 342.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/2.586, allocations: 0 / 1.601 GB, free: 342.2 MB / 0.948 GB Notification: Performance of Templates: time 0.01766/2.603, allocations: 11.35 MB / 1.612 GB, free: 342 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)