Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0007815/0.0007815, allocations: 80.47 kB / 20.69 MB, free: 3.863 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.0007724/0.0007724, allocations: 169.9 kB / 23.97 MB, free: 0.582 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 0.8516/0.8516, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5632/0.5632, allocations: 114 MB / 374.7 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.5554 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.073e-05, allocations: 3.828 kB / 0.5554 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.01904/0.01907, allocations: 27.21 MB / 0.582 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.00794/0.02701, allocations: 7.38 MB / 0.5892 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.02805, allocations: 51.5 kB / 0.5893 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009367/0.02899, allocations: 420.9 kB / 0.5897 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002619/0.03161, allocations: 1.471 MB / 0.5911 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.03359, allocations: 1.199 MB / 0.5923 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002921/0.03651, allocations: 3.446 MB / 0.5956 GB, free: 8.988 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.03777, allocations: 1.136 MB / 0.5967 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002693/0.04046, allocations: 2.136 MB / 0.5988 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002433/0.04289, allocations: 1.567 MB / 0.6004 GB, free: 4.121 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003537/0.04325, allocations: 128 kB / 0.6005 GB, free: 3.996 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.04464, allocations: 0.846 MB / 0.6013 GB, free: 3.148 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000564/0.04521, allocations: 410.6 kB / 0.6017 GB, free: 2.746 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005425/0.04575, allocations: 0.5651 MB / 0.6022 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002388/0.04814, allocations: 2.38 MB / 0.6046 GB, free: 15.79 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.04814, allocations: 4 kB / 0.6046 GB, free: 15.79 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.473e-06/0.04814, allocations: 0 / 0.6046 GB, free: 15.79 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.778e-05/0.04816, allocations: 0 / 0.6046 GB, free: 15.79 MB / 0.573 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.00175/0.04991, allocations: 1.579 MB / 0.6061 GB, free: 14.17 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.04995, allocations: 12.62 kB / 0.6061 GB, free: 14.16 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005888/0.05054, allocations: 211 kB / 0.6063 GB, free: 13.95 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.05171, allocations: 0.8507 MB / 0.6072 GB, free: 13.07 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.778e-05/0.05176, allocations: 85.25 kB / 0.6072 GB, free: 12.99 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.05189, allocations: 116 kB / 0.6073 GB, free: 12.88 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007506/0.05264, allocations: 0.6785 MB / 0.608 GB, free: 12.17 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.05266, allocations: 3.984 kB / 0.608 GB, free: 12.17 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.0527, allocations: 28 kB / 0.608 GB, free: 12.14 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.05271, allocations: 16 kB / 0.6081 GB, free: 12.12 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008785/0.05359, allocations: 0.5242 MB / 0.6086 GB, free: 11.6 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002803/0.05639, allocations: 2.426 MB / 0.6109 GB, free: 9.105 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.05682, allocations: 315.7 kB / 0.6112 GB, free: 8.789 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.05702, allocations: 161.3 kB / 0.6114 GB, free: 8.629 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.05714, allocations: 40.25 kB / 0.6114 GB, free: 8.59 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.05717, allocations: 38.84 kB / 0.6115 GB, free: 8.543 MB / 0.573 GB Notification: Performance of pre-optimization done (n=33): time 2.796e-06/0.05717, allocations: 0 / 0.6115 GB, free: 8.543 MB / 0.573 GB Notification: Performance of matching and sorting (n=33): time 0.0008974/0.05807, allocations: 0.596 MB / 0.6121 GB, free: 7.941 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.0581, allocations: 55.41 kB / 0.6121 GB, free: 7.875 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000582/0.05868, allocations: 0.7791 MB / 0.6129 GB, free: 7.07 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.421e-05/0.05877, allocations: 53.7 kB / 0.6129 GB, free: 7.012 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.05905, allocations: 499.3 kB / 0.6134 GB, free: 6.52 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.05912, allocations: 119 kB / 0.6135 GB, free: 6.402 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.05936, allocations: 287 kB / 0.6138 GB, free: 6.117 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.969e-05/0.05944, allocations: 326.2 kB / 0.6141 GB, free: 5.793 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.05972, allocations: 221.4 kB / 0.6143 GB, free: 5.574 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.06155, allocations: 4.044 MB / 0.6183 GB, free: 476 kB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/0.06213, allocations: 0.502 MB / 0.6187 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.06214, allocations: 0 / 0.6187 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009209/0.06306, allocations: 0.6806 MB / 0.6194 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.06308, allocations: 9.875 kB / 0.6194 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.06309, allocations: 4 kB / 0.6194 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.06311, allocations: 4 kB / 0.6194 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007298/0.06384, allocations: 231.7 kB / 0.6196 GB, free: 15.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.0651, allocations: 2.957 MB / 0.6225 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.06672, allocations: 0.6916 MB / 0.6232 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.06677, allocations: 27.98 kB / 0.6232 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005346/0.06731, allocations: 389.3 kB / 0.6236 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001585/0.06889, allocations: 4.059 MB / 0.6276 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008093/0.0697, allocations: 0.4898 MB / 0.628 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.425e-06/0.0697, allocations: 3.938 kB / 0.6281 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001016/0.07072, allocations: 0.696 MB / 0.6287 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.07073, allocations: 11.94 kB / 0.6287 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.07074, allocations: 4 kB / 0.6287 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.074e-06/0.07074, allocations: 7.984 kB / 0.6288 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.07112, allocations: 159.7 kB / 0.6289 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.07113, allocations: 8.297 kB / 0.6289 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.07327, allocations: 0.9613 MB / 0.6299 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/0.07332, allocations: 31.98 kB / 0.6299 GB, free: 3.281 MB / 0.5886 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.0002349/0.07356, allocations: 241.1 kB / 0.6301 GB, free: 3.039 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.07367, allocations: 87.38 kB / 0.6302 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008193/0.07449, allocations: 0.5621 MB / 0.6307 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.0745, allocations: 4 kB / 0.6307 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.0745, allocations: 4 kB / 0.6308 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.07451, allocations: 0 / 0.6308 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.07596, allocations: 1.17 MB / 0.6319 GB, free: 1.148 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.07597, allocations: 3.984 kB / 0.6319 GB, free: 1.145 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.07627, allocations: 123.8 kB / 0.632 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.07628, allocations: 0 / 0.632 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.0763, allocations: 16.12 kB / 0.632 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009061/0.0772, allocations: 2.938 MB / 0.6349 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.0772, allocations: 0 / 0.6349 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008815/0.07809, allocations: 0.611 MB / 0.6355 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.07829, allocations: 131.3 kB / 0.6356 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/0.07835, allocations: 8 kB / 0.6356 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.07859, allocations: 31.95 kB / 0.6357 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.07865, allocations: 27.89 kB / 0.6357 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.07867, allocations: 19.98 kB / 0.6357 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004568/0.07913, allocations: 0.5148 MB / 0.6362 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.51e-07/0.07913, allocations: 4 kB / 0.6362 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001222/0.08035, allocations: 0.5534 MB / 0.6368 GB, free: 12.01 MB / 0.6042 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.0005161/0.08087, allocations: 306.6 kB / 0.637 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001659/0.08253, allocations: 0.8704 MB / 0.6379 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.08253, allocations: 0 / 0.6379 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003589/0.08289, allocations: 249.2 kB / 0.6381 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008623/0.08375, allocations: 310 kB / 0.6384 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.0856, allocations: 1.549 MB / 0.6399 GB, free: 8.707 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.08586, allocations: 425 kB / 0.6403 GB, free: 8.258 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.08604, allocations: 80.47 kB / 0.6404 GB, free: 8.18 MB / 0.6042 GB Notification: Performance of SimCode: time 9.81e-07/0.08604, allocations: 0 / 0.6404 GB, free: 8.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.0281/0.1141, allocations: 35.48 MB / 0.6751 GB, free: 4.949 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.867272352799773] Failed to read output from testmodel.py, exit status != 0: 0.12082578334957361 0.35162575599999996 0.301899993 Calling exit ...