Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.0009917/0.0009917, allocations: 80.44 kB / 20.69 MB, free: 3.871 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.001161/0.001161, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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.8902/0.8902, 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.5664/0.5664, allocations: 114 MB / 374.7 MB, free: 8.684 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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.5554 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.588e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.06872/0.06875, allocations: 102.9 MB / 0.6559 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0223/0.09105, allocations: 18.78 MB / 0.6742 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003407/0.09446, allocations: 158.6 kB / 0.6744 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003249/0.09771, allocations: 1.296 MB / 0.6756 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009139/0.1068, allocations: 4.038 MB / 0.6796 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.263/0.3698, allocations: 3.251 MB / 0.6827 GB, free: 71.44 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00667/0.3765, allocations: 7.249 MB / 0.6898 GB, free: 70.7 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/0.379, allocations: 1.894 MB / 0.6917 GB, free: 70.46 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006807/0.3858, allocations: 4.039 MB / 0.6956 GB, free: 70.04 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/0.3887, allocations: 1.856 MB / 0.6974 GB, free: 69.81 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004225/0.3891, allocations: 254.8 kB / 0.6977 GB, free: 69.81 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/0.3917, allocations: 1.442 MB / 0.6991 GB, free: 69.75 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000451/0.3921, allocations: 0.7355 MB / 0.6998 GB, free: 69.6 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.3934, allocations: 1.004 MB / 0.7008 GB, free: 69.47 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004875/0.3982, allocations: 4.478 MB / 0.7051 GB, free: 69.26 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3983, allocations: 0 / 0.7051 GB, free: 69.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3983, allocations: 0 / 0.7051 GB, free: 69.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.581e-05/0.3983, allocations: 2.688 kB / 0.7051 GB, free: 69.26 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.003276/0.4016, allocations: 3.18 MB / 0.7083 GB, free: 67.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4016, allocations: 9.5 kB / 0.7083 GB, free: 67.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005216/0.4022, allocations: 331.4 kB / 0.7086 GB, free: 67.63 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/0.4046, allocations: 2.13 MB / 0.7107 GB, free: 67.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.734e-05/0.4047, allocations: 124.6 kB / 0.7108 GB, free: 67.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.4048, allocations: 167.7 kB / 0.7109 GB, free: 67.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.4066, allocations: 1.913 MB / 0.7128 GB, free: 66.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.4066, allocations: 6.125 kB / 0.7128 GB, free: 66.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.745e-05/0.4067, allocations: 67.77 kB / 0.7129 GB, free: 66.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/0.4068, allocations: 41.75 kB / 0.7129 GB, free: 66.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.4081, allocations: 1.144 MB / 0.714 GB, free: 66.48 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00698/0.4151, allocations: 5.474 MB / 0.7194 GB, free: 64.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.4157, allocations: 448.6 kB / 0.7198 GB, free: 64.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/0.4161, allocations: 294.9 kB / 0.7201 GB, free: 64.76 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002386/0.4163, allocations: 79.14 kB / 0.7202 GB, free: 64.76 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.4164, allocations: 51.8 kB / 0.7202 GB, free: 64.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=60): time 3.356e-06/0.4164, allocations: 0 / 0.7202 GB, free: 64.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60): time 0.001542/0.4179, allocations: 0.9738 MB / 0.7212 GB, free: 64.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.4179, allocations: 61.97 kB / 0.7212 GB, free: 64.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/0.4203, allocations: 2.061 MB / 0.7232 GB, free: 64.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.4204, allocations: 47.08 kB / 0.7233 GB, free: 64.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006748/0.4211, allocations: 1.164 MB / 0.7244 GB, free: 63.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.4212, allocations: 221.2 kB / 0.7246 GB, free: 63.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.4215, allocations: 251.3 kB / 0.7249 GB, free: 63.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.799e-05/0.4216, allocations: 346.7 kB / 0.7252 GB, free: 63.31 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/0.4221, allocations: 363.6 kB / 0.7255 GB, free: 63.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006864/0.4228, allocations: 1.206 MB / 0.7267 GB, free: 62.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009639/0.4237, allocations: 0.9739 MB / 0.7277 GB, free: 62.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.4238, allocations: 2.219 kB / 0.7277 GB, free: 62.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001752/0.4255, allocations: 1.283 MB / 0.7289 GB, free: 61.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.4255, allocations: 10.31 kB / 0.7289 GB, free: 61.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.4255, allocations: 8.656 kB / 0.7289 GB, free: 61.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.4256, allocations: 14.56 kB / 0.729 GB, free: 61.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/0.4261, allocations: 255.3 kB / 0.7292 GB, free: 61.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/0.4262, allocations: 28.3 kB / 0.7292 GB, free: 61.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.4272, allocations: 135.5 kB / 0.7294 GB, free: 61.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.935e-05/0.4272, allocations: 51.33 kB / 0.7294 GB, free: 61.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001173/0.4284, allocations: 0.7595 MB / 0.7302 GB, free: 61.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006346/0.429, allocations: 1.192 MB / 0.7313 GB, free: 60.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008625/0.4299, allocations: 0.9566 MB / 0.7322 GB, free: 60.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.839e-06/0.4299, allocations: 2.594 kB / 0.7323 GB, free: 60.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.001576/0.4315, allocations: 1.244 MB / 0.7335 GB, free: 59.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.4315, allocations: 8.25 kB / 0.7335 GB, free: 59.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.4315, allocations: 9.125 kB / 0.7335 GB, free: 59.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4315, allocations: 14.19 kB / 0.7335 GB, free: 59.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005287/0.432, allocations: 252.5 kB / 0.7337 GB, free: 59.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.4321, allocations: 19.16 kB / 0.7338 GB, free: 59.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009028/0.433, allocations: 130.4 kB / 0.7339 GB, free: 59.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-05/0.433, allocations: 50.2 kB / 0.7339 GB, free: 59.68 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002491/0.4333, allocations: 243.6 kB / 0.7342 GB, free: 59.47 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.4335, allocations: 219.7 kB / 0.7344 GB, free: 59.35 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.4348, allocations: 0.8714 MB / 0.7352 GB, free: 59.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.4348, allocations: 11.97 kB / 0.7352 GB, free: 59.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4348, allocations: 3.938 kB / 0.7352 GB, free: 59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006713/0.4355, allocations: 0.6941 MB / 0.7359 GB, free: 58.65 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/0.4384, allocations: 2.17 MB / 0.738 GB, free: 57.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.4384, allocations: 1.094 kB / 0.738 GB, free: 57.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/0.4388, allocations: 123.6 kB / 0.7382 GB, free: 57.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.4388, allocations: 10.75 kB / 0.7382 GB, free: 57.65 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.4388, allocations: 16.64 kB / 0.7382 GB, free: 57.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.4388, allocations: 3.531 kB / 0.7382 GB, free: 57.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4388, allocations: 8.531 kB / 0.7382 GB, free: 57.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.4402, allocations: 1.297 MB / 0.7395 GB, free: 57.01 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005513/0.4408, allocations: 313.9 kB / 0.7398 GB, free: 56.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.4409, allocations: 17.83 kB / 0.7398 GB, free: 56.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/0.4413, allocations: 49 kB / 0.7398 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.743e-05/0.4414, allocations: 44.95 kB / 0.7399 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.4415, allocations: 31.11 kB / 0.7399 GB, free: 56.78 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001495/0.443, allocations: 1.36 MB / 0.7412 GB, free: 56.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.71e-07/0.443, allocations: 3.938 kB / 0.7412 GB, free: 56.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002476/0.4455, allocations: 1.172 MB / 0.7424 GB, free: 55.96 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001276/0.4467, allocations: 0.7738 MB / 0.7431 GB, free: 55.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001937/0.4487, allocations: 1.282 MB / 0.7444 GB, free: 55.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4487, allocations: 1.375 kB / 0.7444 GB, free: 55.39 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.449, allocations: 303.5 kB / 0.7447 GB, free: 55.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/0.452, allocations: 1.163 MB / 0.7458 GB, free: 55 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00436/0.4564, allocations: 3.654 MB / 0.7494 GB, free: 53.13 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006803/0.4571, allocations: 1.004 MB / 0.7504 GB, free: 52.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005159/0.4576, allocations: 177 kB / 0.7505 GB, free: 52.87 MB / 0.6355 GB Notification: Performance of SimCode: time 1.173e-06/0.4576, allocations: 0 / 0.7505 GB, free: 52.87 MB / 0.6355 GB Notification: Performance of Templates: time 0.04031/0.4979, allocations: 38.2 MB / 0.7878 GB, free: 34.69 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.519586610607803] Failed to read output from testmodel.py, exit status != 0: 0.5043591698631644 0.510915647 0.11107920600000001 Calling exit ...