Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.001848/0.001848, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.00197/0.00197, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.616/1.616, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.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.176/3.176, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 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.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 1.001 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.131e-05, allocations: 2.281 kB / 1.001 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03781/0.03784, allocations: 27.22 MB / 1.028 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.6307/0.6685, allocations: 7.379 MB / 1.035 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.67, allocations: 46.88 kB / 1.035 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.6713, allocations: 418.2 kB / 1.035 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.004574/0.6759, allocations: 1.483 MB / 1.037 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.004097/0.68, allocations: 1.19 MB / 1.038 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005506/0.6855, allocations: 3.454 MB / 1.041 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002523/0.688, allocations: 1.129 MB / 1.042 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004919/0.6929, allocations: 2.134 MB / 1.045 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00379/0.6967, allocations: 1.573 MB / 1.046 GB, free: 13.56 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0008007/0.6975, allocations: 125.4 kB / 1.046 GB, free: 13.56 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.7004, allocations: 0.8452 MB / 1.047 GB, free: 13.4 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0005605/0.701, allocations: 414.9 kB / 1.047 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.7021, allocations: 0.5652 MB / 1.048 GB, free: 13.02 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.004723/0.7068, allocations: 2.375 MB / 1.05 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.7068, allocations: 0 / 1.05 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7068, allocations: 4 kB / 1.05 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.962e-05/0.7068, allocations: 1.062 kB / 1.05 GB, free: 12.38 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003655/0.7105, allocations: 1.586 MB / 1.052 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.7106, allocations: 11.52 kB / 1.052 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.7119, allocations: 204.5 kB / 1.052 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/0.7138, allocations: 0.8577 MB / 1.053 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.677e-05/0.7139, allocations: 84.19 kB / 1.053 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002451/0.7142, allocations: 118.8 kB / 1.053 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.7154, allocations: 0.6845 MB / 1.054 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.7154, allocations: 1.156 kB / 1.054 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.7154, allocations: 20.69 kB / 1.054 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.7155, allocations: 14.59 kB / 1.054 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009964/0.7165, allocations: 0.5199 MB / 1.054 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005321/0.7218, allocations: 2.432 MB / 1.057 GB, free: 9.094 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006281/0.7224, allocations: 313.1 kB / 1.057 GB, free: 8.973 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.7227, allocations: 160.1 kB / 1.057 GB, free: 8.914 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/0.7229, allocations: 38.53 kB / 1.057 GB, free: 8.906 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.7229, allocations: 40.38 kB / 1.057 GB, free: 8.863 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 3.778e-06/0.7229, allocations: 0 / 1.057 GB, free: 8.863 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.001737/0.7247, allocations: 0.5965 MB / 1.058 GB, free: 8.625 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.7247, allocations: 56.44 kB / 1.058 GB, free: 8.562 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009604/0.7257, allocations: 0.7775 MB / 1.059 GB, free: 8.223 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002072/0.7259, allocations: 57.48 kB / 1.059 GB, free: 8.176 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003743/0.7263, allocations: 495.5 kB / 1.059 GB, free: 7.805 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.512e-05/0.7263, allocations: 116.5 kB / 1.059 GB, free: 7.715 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004434/0.7268, allocations: 293.4 kB / 1.059 GB, free: 7.621 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.935e-05/0.7268, allocations: 330.8 kB / 1.06 GB, free: 7.305 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004514/0.7273, allocations: 214.8 kB / 1.06 GB, free: 7.223 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.7292, allocations: 4.054 MB / 1.064 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009397/0.7301, allocations: 499.6 kB / 1.064 GB, free: 2.336 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.7301, allocations: 0.5156 kB / 1.064 GB, free: 2.336 MB / 0.9323 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001601/0.7317, allocations: 0.6866 MB / 1.065 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.7317, allocations: 10.12 kB / 1.065 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.7317, allocations: 3.219 kB / 1.065 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.7318, allocations: 4.547 kB / 1.065 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.7333, allocations: 236.1 kB / 1.065 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.7347, allocations: 2.959 MB / 1.068 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003776/0.7385, allocations: 0.6857 MB / 1.069 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.7386, allocations: 27.62 kB / 1.069 GB, free: 15 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001046/0.7396, allocations: 385.3 kB / 1.069 GB, free: 14.81 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003895/0.7435, allocations: 4.063 MB / 1.073 GB, free: 10.13 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00141/0.7449, allocations: 0.4924 MB / 1.074 GB, free: 9.863 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.769e-06/0.7449, allocations: 0.8438 kB / 1.074 GB, free: 9.863 MB / 0.948 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002547/0.7475, allocations: 0.6864 MB / 1.074 GB, free: 9.613 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.7475, allocations: 6.25 kB / 1.074 GB, free: 9.613 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.7475, allocations: 7.25 kB / 1.074 GB, free: 9.609 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.7475, allocations: 10.11 kB / 1.074 GB, free: 9.605 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/0.7484, allocations: 158.9 kB / 1.075 GB, free: 9.602 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.7484, allocations: 7.281 kB / 1.075 GB, free: 9.602 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006315/0.7547, allocations: 0.9683 MB / 1.076 GB, free: 9.504 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002958/0.755, allocations: 25.44 kB / 1.076 GB, free: 9.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008361/0.7559, allocations: 236.4 kB / 1.076 GB, free: 9.297 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006031/0.7565, allocations: 86.06 kB / 1.076 GB, free: 9.25 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.7583, allocations: 0.5668 MB / 1.076 GB, free: 9.004 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.7584, allocations: 7.766 kB / 1.076 GB, free: 9.004 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.7584, allocations: 0 / 1.076 GB, free: 9.004 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.7584, allocations: 3.156 kB / 1.076 GB, free: 9.004 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003614/0.762, allocations: 1.171 MB / 1.078 GB, free: 8.406 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.762, allocations: 0.875 kB / 1.078 GB, free: 8.406 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006729/0.7627, allocations: 126.5 kB / 1.078 GB, free: 8.391 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.7627, allocations: 3.406 kB / 1.078 GB, free: 8.391 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.7627, allocations: 10.72 kB / 1.078 GB, free: 8.387 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.7649, allocations: 2.944 MB / 1.081 GB, free: 5.43 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.7649, allocations: 2.125 kB / 1.081 GB, free: 5.43 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.7663, allocations: 0.6112 MB / 1.081 GB, free: 5.082 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003902/0.7667, allocations: 127 kB / 1.081 GB, free: 5.008 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.7668, allocations: 7.203 kB / 1.081 GB, free: 5.004 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.7673, allocations: 37.78 kB / 1.081 GB, free: 4.992 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.936e-05/0.7674, allocations: 29.86 kB / 1.081 GB, free: 4.988 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.7674, allocations: 13.12 kB / 1.081 GB, free: 4.988 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008889/0.7683, allocations: 0.5187 MB / 1.082 GB, free: 4.758 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.7683, allocations: 0 / 1.082 GB, free: 4.758 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002098/0.7704, allocations: 0.5514 MB / 1.082 GB, free: 4.633 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00076/0.7712, allocations: 317.1 kB / 1.083 GB, free: 4.488 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003144/0.7743, allocations: 0.8741 MB / 1.084 GB, free: 4.273 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.7743, allocations: 0.875 kB / 1.084 GB, free: 4.273 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006754/0.775, allocations: 243 kB / 1.084 GB, free: 4.223 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.7766, allocations: 321.1 kB / 1.084 GB, free: 4.113 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.7796, allocations: 1.496 MB / 1.086 GB, free: 3.316 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.7802, allocations: 432.7 kB / 1.086 GB, free: 3.18 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001325/0.7815, allocations: 197.1 kB / 1.086 GB, free: 3.113 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.7818, allocations: 75.67 kB / 1.086 GB, free: 3.102 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/0.7818, allocations: 0 / 1.086 GB, free: 3.102 MB / 0.948 GB Notification: Performance of Templates: time 0.04753/0.8293, allocations: 25.55 MB / 1.111 GB, free: 8.582 MB / 0.9636 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.76258059591055]