Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.305/2.305, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001667/0.001666, allocations: 177.4 kB / 360.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.1 MB / 0.6188 GB, free: 12.47 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001204/0.001203, allocations: 92.45 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.235e-05/1.261e-05, allocations: 4 kB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6861/0.6862, allocations: 115.3 MB / 0.9628 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.148/1.834, allocations: 377.8 MB / 1.332 GB, free: 255.6 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/1.835, allocations: 85.28 kB / 1.332 GB, free: 255.6 MB / 1.01 GB Notification: Performance of FrontEnd: time 0.8791/2.714, allocations: 251 MB / 1.577 GB, free: 67.43 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.467e-05/2.714, allocations: 27.92 kB / 1.577 GB, free: 67.4 MB / 1.01 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.002029/2.716, allocations: 0.8297 MB / 1.578 GB, free: 66.53 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/2.716, allocations: 12.03 kB / 1.578 GB, free: 66.52 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/2.716, allocations: 63.25 kB / 1.578 GB, free: 66.45 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/2.717, allocations: 471.4 kB / 1.578 GB, free: 65.95 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/2.717, allocations: 8 kB / 1.578 GB, free: 65.95 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.6e-05/2.717, allocations: 24 kB / 1.578 GB, free: 65.92 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006265/2.718, allocations: 189.3 kB / 1.578 GB, free: 65.73 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006018/2.719, allocations: 224.8 kB / 1.579 GB, free: 65.51 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/2.719, allocations: 7.938 kB / 1.579 GB, free: 65.5 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/2.719, allocations: 0 / 1.579 GB, free: 65.5 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/2.719, allocations: 7.984 kB / 1.579 GB, free: 65.5 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002634/2.721, allocations: 1.249 MB / 1.58 GB, free: 64.14 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/2.723, allocations: 218.5 kB / 1.58 GB, free: 63.92 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000353/2.723, allocations: 96.84 kB / 1.58 GB, free: 63.82 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005282/2.723, allocations: 0.5025 MB / 1.581 GB, free: 63.21 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/2.724, allocations: 40.16 kB / 1.581 GB, free: 63.16 MB / 1.01 GB Notification: Performance of pre-optimization done (n=25): time 3.286e-06/2.724, allocations: 0 / 1.581 GB, free: 63.16 MB / 1.01 GB Notification: Performance of matching and sorting (n=25): time 0.001413/2.725, allocations: 270.4 kB / 1.581 GB, free: 62.89 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/2.725, allocations: 51.41 kB / 1.581 GB, free: 62.82 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007299/2.726, allocations: 357.2 kB / 1.581 GB, free: 62.47 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.431e-05/2.726, allocations: 29.7 kB / 1.581 GB, free: 62.43 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/2.726, allocations: 184.6 kB / 1.582 GB, free: 62.25 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.929e-05/2.726, allocations: 78.77 kB / 1.582 GB, free: 62.17 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/2.726, allocations: 0 / 1.582 GB, free: 62.17 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000122/2.726, allocations: 354.8 kB / 1.582 GB, free: 61.82 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/2.727, allocations: 83.98 kB / 1.582 GB, free: 61.73 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004389/2.727, allocations: 170.5 kB / 1.582 GB, free: 61.53 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006447/2.728, allocations: 119 kB / 1.582 GB, free: 61.41 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/2.728, allocations: 3.906 kB / 1.582 GB, free: 61.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001605/2.729, allocations: 340.4 kB / 1.583 GB, free: 61.07 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 9.487e-05/2.73, allocations: 271.9 kB / 1.583 GB, free: 60.79 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/2.73, allocations: 0 / 1.583 GB, free: 60.79 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003616/2.73, allocations: 36.83 kB / 1.583 GB, free: 60.75 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008919/2.731, allocations: 83.89 kB / 1.583 GB, free: 60.66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007173/2.732, allocations: 0.5679 MB / 1.584 GB, free: 60.07 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/2.733, allocations: 79.61 kB / 1.584 GB, free: 59.99 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.973e-05/2.733, allocations: 15.98 kB / 1.584 GB, free: 59.98 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/2.733, allocations: 4 kB / 1.584 GB, free: 59.97 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001235/2.734, allocations: 217.8 kB / 1.584 GB, free: 59.76 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/2.734, allocations: 0 / 1.584 GB, free: 59.76 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/2.734, allocations: 11.84 kB / 1.584 GB, free: 59.75 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/2.736, allocations: 87.94 kB / 1.584 GB, free: 59.66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/2.736, allocations: 7.938 kB / 1.584 GB, free: 59.66 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/2.737, allocations: 55.8 kB / 1.584 GB, free: 59.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-05/2.737, allocations: 15.98 kB / 1.584 GB, free: 59.59 MB / 1.01 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.0002367/2.737, allocations: 112.9 kB / 1.584 GB, free: 59.47 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/2.737, allocations: 51.48 kB / 1.584 GB, free: 59.42 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/2.739, allocations: 363.8 kB / 1.585 GB, free: 59.05 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/2.739, allocations: 4 kB / 1.585 GB, free: 59.04 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/2.739, allocations: 3.906 kB / 1.585 GB, free: 59.04 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/2.739, allocations: 3.984 kB / 1.585 GB, free: 59.04 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/2.749, allocations: 0.8093 MB / 1.585 GB, free: 58.17 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/2.749, allocations: 0 / 1.585 GB, free: 58.17 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006435/2.75, allocations: 60.02 kB / 1.585 GB, free: 58.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002932/2.75, allocations: 36.84 kB / 1.586 GB, free: 58.07 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/2.75, allocations: 7.984 kB / 1.586 GB, free: 58.06 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005108/2.751, allocations: 0.5601 MB / 1.586 GB, free: 57.48 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/2.751, allocations: 0 / 1.586 GB, free: 57.48 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001311/2.752, allocations: 485.8 kB / 1.587 GB, free: 56.95 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005156/2.758, allocations: 152.4 kB / 1.587 GB, free: 56.78 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/2.758, allocations: 0 / 1.587 GB, free: 56.78 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/2.759, allocations: 47.86 kB / 1.587 GB, free: 56.73 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/2.759, allocations: 19.97 kB / 1.587 GB, free: 56.71 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.423e-05/2.759, allocations: 8 kB / 1.587 GB, free: 56.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.0005631/2.76, allocations: 274.9 kB / 1.587 GB, free: 56.44 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001703/2.761, allocations: 267.5 kB / 1.587 GB, free: 56.18 MB / 1.01 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.001029/2.762, allocations: 359.8 kB / 1.588 GB, free: 55.82 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001663/2.764, allocations: 394.1 kB / 1.588 GB, free: 55.43 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/2.764, allocations: 0 / 1.588 GB, free: 55.43 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005554/2.765, allocations: 131.8 kB / 1.588 GB, free: 55.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01035/2.775, allocations: 226.6 kB / 1.588 GB, free: 55.08 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007436/2.782, allocations: 0.5861 MB / 1.589 GB, free: 54.46 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007375/2.783, allocations: 0.933 MB / 1.59 GB, free: 53.5 MB / 1.01 GB Notification: Performance of SimCode: time 1.302e-06/2.783, allocations: 0 / 1.59 GB, free: 53.5 MB / 1.01 GB Notification: Performance of Templates: time 0.03506/2.818, allocations: 11.35 MB / 1.601 GB, free: 42.25 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)