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.0008008/0.0008008, allocations: 80.94 kB / 20.73 MB, free: 3.754 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.001002/0.001002, allocations: 169 kB / 24.15 MB, free: 344 kB / 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.065/1.065, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.6337/0.6337, allocations: 115 MB / 376 MB, free: 7.48 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 3.106e-06/3.106e-06, allocations: 4 kB / 428.8 MB, free: 2.742 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/3.002e-05, allocations: 6.312 kB / 428.8 MB, free: 2.734 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.257/0.257, allocations: 24.91 MB / 453.7 MB, free: 18.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01993/0.277, allocations: 10.07 MB / 463.8 MB, free: 15.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003579/0.2805, allocations: 153.8 kB / 463.9 MB, free: 15.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.282, allocations: 0.767 MB / 464.7 MB, free: 14.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004909/0.287, allocations: 2.573 MB / 467.2 MB, free: 13.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005267/0.2922, allocations: 2.949 MB / 470.2 MB, free: 10.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007142/0.2994, allocations: 7.104 MB / 477.3 MB, free: 6.406 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003717/0.3031, allocations: 1.999 MB / 479.3 MB, free: 4.379 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007332/0.3104, allocations: 3.389 MB / 482.7 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0035/0.3139, allocations: 1.788 MB / 484.5 MB, free: 15.22 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009059/0.3148, allocations: 248.8 kB / 484.7 MB, free: 14.98 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.3177, allocations: 0.9972 MB / 485.7 MB, free: 13.98 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.3188, allocations: 0.7275 MB / 486.4 MB, free: 13.25 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002634/0.3214, allocations: 0.9936 MB / 487.4 MB, free: 12.26 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005415/0.3269, allocations: 2.573 MB / 490 MB, free: 9.676 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.3269, allocations: 4 kB / 490 MB, free: 9.672 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3269, allocations: 0.5938 kB / 490 MB, free: 9.672 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001271/0.327, allocations: 0.6875 kB / 490 MB, free: 9.672 MB / 426.7 MB 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.004528/0.3315, allocations: 3.034 MB / 493 MB, free: 6.605 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3316, allocations: 8.031 kB / 493.1 MB, free: 6.598 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007877/0.3324, allocations: 360.2 kB / 493.4 MB, free: 6.246 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/0.3352, allocations: 1.51 MB / 494.9 MB, free: 4.664 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.232e-05/0.3353, allocations: 124 kB / 495 MB, free: 4.543 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.3355, allocations: 176 kB / 495.2 MB, free: 4.371 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.3371, allocations: 1.36 MB / 496.6 MB, free: 2.867 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.3371, allocations: 4.906 kB / 496.6 MB, free: 2.863 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.841e-05/0.3372, allocations: 60 kB / 496.6 MB, free: 2.805 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.119e-05/0.3372, allocations: 51.67 kB / 496.7 MB, free: 2.758 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008035/0.338, allocations: 399.4 kB / 497.1 MB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007267/0.3453, allocations: 4.372 MB / 0.4897 GB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.3457, allocations: 245.7 kB / 0.4899 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.3458, allocations: 117.7 kB / 0.49 GB, free: 13.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.3459, allocations: 41.28 kB / 0.4901 GB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.346, allocations: 47 kB / 0.4901 GB, free: 13.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 3.818e-06/0.346, allocations: 0.8438 kB / 0.4901 GB, free: 13.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.0009945/0.347, allocations: 393.8 kB / 0.4905 GB, free: 13.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.347, allocations: 61 kB / 0.4906 GB, free: 12.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.3487, allocations: 1.672 MB / 0.4922 GB, free: 11.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.3488, allocations: 41.7 kB / 0.4922 GB, free: 11.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005281/0.3493, allocations: 0.83 MB / 0.493 GB, free: 10.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.3495, allocations: 226 kB / 0.4933 GB, free: 10.15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003255/0.3499, allocations: 248 kB / 0.4935 GB, free: 9.902 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.35, allocations: 353.8 kB / 0.4938 GB, free: 9.551 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.3503, allocations: 116.9 kB / 0.4939 GB, free: 9.434 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005905/0.3509, allocations: 0.9302 MB / 0.4948 GB, free: 8.234 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/0.3515, allocations: 0.57 MB / 0.4954 GB, free: 7.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.3515, allocations: 0.5312 kB / 0.4954 GB, free: 7.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001062/0.3526, allocations: 0.6397 MB / 0.496 GB, free: 6.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.3526, allocations: 17.8 kB / 0.496 GB, free: 6.914 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.3526, allocations: 8 kB / 0.4961 GB, free: 6.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.3526, allocations: 17.5 kB / 0.4961 GB, free: 6.891 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006253/0.3533, allocations: 255.6 kB / 0.4963 GB, free: 6.641 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.3533, allocations: 21.44 kB / 0.4963 GB, free: 6.621 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008507/0.3541, allocations: 131.1 kB / 0.4965 GB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-05/0.3542, allocations: 41.11 kB / 0.4965 GB, free: 6.453 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000519/0.3547, allocations: 212.3 kB / 0.4967 GB, free: 6.238 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005197/0.3552, allocations: 0.9292 MB / 0.4976 GB, free: 5.039 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005352/0.3558, allocations: 0.5613 MB / 0.4982 GB, free: 4.371 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.489e-06/0.3558, allocations: 7.938 kB / 0.4982 GB, free: 4.363 MB / 442.7 MB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.0008746/0.3566, allocations: 0.6285 MB / 0.4988 GB, free: 3.734 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3567, allocations: 8.625 kB / 0.4988 GB, free: 3.727 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3567, allocations: 14.66 kB / 0.4988 GB, free: 3.715 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3567, allocations: 16 kB / 0.4988 GB, free: 3.699 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.3572, allocations: 257.1 kB / 0.4991 GB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.3572, allocations: 19.94 kB / 0.4991 GB, free: 3.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007573/0.358, allocations: 112.3 kB / 0.4992 GB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.567e-05/0.358, allocations: 40.48 kB / 0.4992 GB, free: 3.281 MB / 442.7 MB 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.0002291/0.3583, allocations: 252.5 kB / 0.4995 GB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.3585, allocations: 136.4 kB / 0.4996 GB, free: 2.895 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007905/0.3593, allocations: 488.9 kB / 0.5001 GB, free: 2.418 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.3593, allocations: 8.75 kB / 0.5001 GB, free: 2.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.3593, allocations: 0 / 0.5001 GB, free: 2.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002678/0.3595, allocations: 313.7 kB / 0.5004 GB, free: 2.074 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.3616, allocations: 1.346 MB / 0.5017 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3616, allocations: 0 / 0.5017 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.3619, allocations: 138.5 kB / 0.5018 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3619, allocations: 4 kB / 0.5018 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.362, allocations: 12 kB / 0.5018 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.362, allocations: 4 kB / 0.5018 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.362, allocations: 3.25 kB / 0.5018 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007374/0.3627, allocations: 0.6304 MB / 0.5025 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004746/0.3632, allocations: 258.3 kB / 0.5027 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.3633, allocations: 12 kB / 0.5027 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005649/0.3639, allocations: 27.98 kB / 0.5027 GB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/0.364, allocations: 41 kB / 0.5028 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.364, allocations: 23.98 kB / 0.5028 GB, free: 15.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007894/0.3648, allocations: 0.8486 MB / 0.5036 GB, free: 14.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3648, allocations: 0 / 0.5036 GB, free: 14.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002226/0.367, allocations: 1.064 MB / 0.5047 GB, free: 13.59 MB / 458.7 MB 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.001393/0.3684, allocations: 0.5745 MB / 0.5052 GB, free: 13.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.3696, allocations: 0.7228 MB / 0.5059 GB, free: 12.58 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.53e-05/0.3696, allocations: 31.31 kB / 0.506 GB, free: 12.55 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.3698, allocations: 157 kB / 0.5061 GB, free: 12.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/0.3729, allocations: 1.203 MB / 0.5073 GB, free: 11.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004785/0.3776, allocations: 3.257 MB / 0.5105 GB, free: 7.988 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.378, allocations: 385.9 kB / 0.5108 GB, free: 7.586 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001665/0.3796, allocations: 367.7 kB / 0.5112 GB, free: 7.254 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001772/0.3814, allocations: 0.7499 MB / 0.5119 GB, free: 6.484 MB / 458.7 MB Notification: Performance of SimCode: time 1.843e-06/0.3814, allocations: 0 / 0.5119 GB, free: 6.484 MB / 458.7 MB Notification: Performance of Templates: time 0.05599/0.4374, allocations: 43.94 MB / 0.5548 GB, free: 11.57 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.774354201741517]