Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002723/0.002723, allocations: 209 kB / 23.02 MB, free: 2.961 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.766/1.766, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.451/3.451, allocations: 0.5045 GB / 0.8104 GB, free: 2.777 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003617/0.003617, allocations: 71.89 kB / 1.177 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.02, allocations: 180 MB / 1.353 GB, free: 1.605 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02663/1.046, allocations: 19.37 MB / 1.372 GB, free: 14.17 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.008403/1.055, allocations: 4.795 MB / 1.376 GB, free: 9.363 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/1.056, allocations: 27.75 kB / 1.377 GB, free: 9.336 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.001383/1.057, allocations: 270 kB / 1.377 GB, free: 9.07 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.005162/1.063, allocations: 1.056 MB / 1.378 GB, free: 8.012 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.00294/1.065, allocations: 0.6203 MB / 1.378 GB, free: 7.398 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.003703/1.069, allocations: 1.422 MB / 1.38 GB, free: 5.969 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/1.07, allocations: 376.8 kB / 1.38 GB, free: 5.594 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/1.073, allocations: 0.7044 MB / 1.381 GB, free: 4.887 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/1.074, allocations: 493.9 kB / 1.381 GB, free: 4.402 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0001257/1.074, allocations: 48 kB / 1.381 GB, free: 4.355 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/1.076, allocations: 0.5731 MB / 1.382 GB, free: 3.781 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0002458/1.076, allocations: 159.4 kB / 1.382 GB, free: 3.625 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.000416/1.076, allocations: 278.6 kB / 1.382 GB, free: 3.352 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.002001/1.078, allocations: 0.9652 MB / 1.383 GB, free: 2.383 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/1.078, allocations: 4 kB / 1.383 GB, free: 2.379 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.324e-06/1.078, allocations: 0 / 1.383 GB, free: 2.379 MB / 1.057 GB Notification: Performance of Transformations before backend: time 8.807e-06/1.078, allocations: 0 / 1.383 GB, free: 2.379 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002379/1.081, allocations: 0.9608 MB / 1.384 GB, free: 1.387 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 6.55e-05/1.081, allocations: 16.88 kB / 1.384 GB, free: 1.371 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/1.082, allocations: 236.2 kB / 1.384 GB, free: 1.141 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/1.084, allocations: 0.5158 MB / 1.385 GB, free: 0.5977 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003121/1.084, allocations: 20.5 kB / 1.385 GB, free: 0.5781 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.578e-05/1.084, allocations: 36 kB / 1.385 GB, free: 0.543 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009041/1.085, allocations: 385.5 kB / 1.385 GB, free: 160 kB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/1.085, allocations: 0 / 1.385 GB, free: 160 kB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/1.085, allocations: 8 kB / 1.385 GB, free: 152 kB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/1.085, allocations: 11.94 kB / 1.385 GB, free: 140 kB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009225/1.086, allocations: 337.8 kB / 1.386 GB, free: 15.81 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/1.089, allocations: 1.062 MB / 1.387 GB, free: 14.71 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009495/1.089, allocations: 354.5 kB / 1.387 GB, free: 14.36 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004288/1.09, allocations: 160.8 kB / 1.387 GB, free: 14.2 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/1.09, allocations: 47.95 kB / 1.387 GB, free: 14.15 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/1.09, allocations: 38.5 kB / 1.387 GB, free: 14.11 MB / 1.073 GB Notification: Performance of pre-optimization done (n=18): time 1.824e-06/1.09, allocations: 0 / 1.387 GB, free: 14.11 MB / 1.073 GB Notification: Performance of matching and sorting (n=18): time 0.00153/1.092, allocations: 0.5031 MB / 1.388 GB, free: 13.6 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/1.092, allocations: 55.41 kB / 1.388 GB, free: 13.53 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009634/1.093, allocations: 0.5925 MB / 1.388 GB, free: 12.93 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/1.093, allocations: 33.7 kB / 1.388 GB, free: 12.89 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/1.093, allocations: 261 kB / 1.389 GB, free: 12.63 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 8.812e-05/1.093, allocations: 71.41 kB / 1.389 GB, free: 12.56 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/1.093, allocations: 126 kB / 1.389 GB, free: 12.43 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.000223/1.094, allocations: 358.8 kB / 1.389 GB, free: 12.07 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006633/1.094, allocations: 246.4 kB / 1.39 GB, free: 11.83 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009485/1.095, allocations: 0.5673 MB / 1.39 GB, free: 11.18 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/1.096, allocations: 445.7 kB / 1.39 GB, free: 10.73 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.096, allocations: 0 / 1.39 GB, free: 10.73 MB / 1.073 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003749/1.1, allocations: 0.81 MB / 1.391 GB, free: 9.914 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.1, allocations: 8 kB / 1.391 GB, free: 9.906 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.1, allocations: 7.938 kB / 1.391 GB, free: 9.898 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003845/1.101, allocations: 112.8 kB / 1.391 GB, free: 9.785 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006958/1.101, allocations: 119.8 kB / 1.392 GB, free: 9.668 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009966/1.102, allocations: 0.5875 MB / 1.392 GB, free: 9.055 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/1.103, allocations: 95.8 kB / 1.392 GB, free: 8.961 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/1.103, allocations: 24.08 kB / 1.392 GB, free: 8.938 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009329/1.104, allocations: 360.8 kB / 1.393 GB, free: 8.582 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009444/1.105, allocations: 0.5673 MB / 1.393 GB, free: 7.926 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001173/1.107, allocations: 441.1 kB / 1.394 GB, free: 7.488 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/1.107, allocations: 0 / 1.394 GB, free: 7.488 MB / 1.073 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001751/1.108, allocations: 0.6325 MB / 1.394 GB, free: 6.852 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.108, allocations: 4 kB / 1.394 GB, free: 6.848 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/1.108, allocations: 0 / 1.394 GB, free: 6.848 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/1.108, allocations: 4 kB / 1.394 GB, free: 6.844 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007991/1.109, allocations: 131.8 kB / 1.394 GB, free: 6.715 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/1.109, allocations: 4 kB / 1.394 GB, free: 6.711 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009649/1.11, allocations: 91.78 kB / 1.394 GB, free: 6.621 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/1.11, allocations: 15.98 kB / 1.394 GB, free: 6.605 MB / 1.073 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002373/1.11, allocations: 208.1 kB / 1.395 GB, free: 6.395 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/1.11, allocations: 55.66 kB / 1.395 GB, free: 6.34 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/1.112, allocations: 485.7 kB / 1.395 GB, free: 5.852 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/1.112, allocations: 4 kB / 1.395 GB, free: 5.848 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.112, allocations: 0 / 1.395 GB, free: 5.848 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/1.112, allocations: 3.984 kB / 1.395 GB, free: 5.844 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/1.114, allocations: 0.9774 MB / 1.396 GB, free: 4.816 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/1.114, allocations: 4 kB / 1.396 GB, free: 4.812 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/1.116, allocations: 143.8 kB / 1.396 GB, free: 4.672 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/1.116, allocations: 7.938 kB / 1.396 GB, free: 4.664 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/1.116, allocations: 4 kB / 1.396 GB, free: 4.66 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/1.117, allocations: 0.6876 MB / 1.397 GB, free: 3.949 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/1.117, allocations: 7.969 kB / 1.397 GB, free: 3.941 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/1.119, allocations: 0.5331 MB / 1.397 GB, free: 3.383 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/1.119, allocations: 91.73 kB / 1.397 GB, free: 3.293 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.166e-05/1.119, allocations: 11.92 kB / 1.398 GB, free: 3.281 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006104/1.12, allocations: 43.94 kB / 1.398 GB, free: 3.238 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.213e-05/1.12, allocations: 27.84 kB / 1.398 GB, free: 3.211 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/1.12, allocations: 8 kB / 1.398 GB, free: 3.203 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0007312/1.12, allocations: 414.8 kB / 1.398 GB, free: 2.801 MB / 1.073 GB Notification: Performance of sort global known variables: time 7e-08/1.12, allocations: 0 / 1.398 GB, free: 2.801 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.001146/1.122, allocations: 347.3 kB / 1.398 GB, free: 2.461 MB / 1.073 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000568/1.122, allocations: 251 kB / 1.399 GB, free: 2.207 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.002632/1.125, allocations: 0.7434 MB / 1.399 GB, free: 1.465 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.125, allocations: 0 / 1.399 GB, free: 1.465 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.002/1.127, allocations: 283.9 kB / 1.4 GB, free: 1.188 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/1.128, allocations: 165.8 kB / 1.4 GB, free: 1.031 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/1.13, allocations: 0.8833 MB / 1.401 GB, free: 108 kB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/1.13, allocations: 262.9 kB / 1.401 GB, free: 15.81 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0007059/1.131, allocations: 159.2 kB / 1.401 GB, free: 15.65 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/1.131, allocations: 55.41 kB / 1.401 GB, free: 15.6 MB / 1.089 GB Notification: Performance of SimCode: time 8.42e-07/1.131, allocations: 0 / 1.401 GB, free: 15.6 MB / 1.089 GB Notification: Performance of Templates: time 0.0302/1.161, allocations: 15.45 MB / 1.416 GB, free: 388 kB / 1.089 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.336026903241873]