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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 118.3 kB / 17.76 MB, free: 5.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 187.8 kB / 20.69 MB, free: 2.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 246.4 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8002/0.8002, allocations: 126.7 MB / 425.3 MB, free: 6.246 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002143/0.002143, allocations: 67.91 kB / 0.5832 GB, free: 12.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4747/0.4769, allocations: 78.86 MB / 0.6602 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03173/0.5086, allocations: 29.66 MB / 0.6892 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01451/0.5232, allocations: 8 MB / 0.697 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001937/0.5252, allocations: 32.81 kB / 0.697 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.5267, allocations: 428.3 kB / 0.6974 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005056/0.5318, allocations: 1.362 MB / 0.6988 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003685/0.5355, allocations: 1.142 MB / 0.6999 GB, free: 84 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005737/0.5413, allocations: 3.502 MB / 0.7033 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002571/0.5439, allocations: 1.322 MB / 0.7046 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004381/0.5483, allocations: 1.713 MB / 0.7063 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00389/0.5522, allocations: 1.581 MB / 0.7078 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006672/0.5529, allocations: 125.1 kB / 0.7079 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.556, allocations: 1.007 MB / 0.7089 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005822/0.5566, allocations: 409 kB / 0.7093 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.558, allocations: 0.7429 MB / 0.71 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003861/0.5619, allocations: 2.185 MB / 0.7122 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5619, allocations: 0 / 0.7122 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5619, allocations: 0 / 0.7122 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.54e-05/0.562, allocations: 0 / 0.7122 GB, free: 8.594 MB / 0.5294 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.003221/0.5652, allocations: 1.68 MB / 0.7138 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.5652, allocations: 12.02 kB / 0.7138 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004402/0.5657, allocations: 155.3 kB / 0.714 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/0.5675, allocations: 0.9189 MB / 0.7148 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-05/0.5676, allocations: 81.31 kB / 0.7149 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/0.5678, allocations: 116 kB / 0.715 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.569, allocations: 0.6395 MB / 0.7157 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.569, allocations: 0 / 0.7157 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.513e-05/0.5691, allocations: 31.94 kB / 0.7157 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.5691, allocations: 12 kB / 0.7157 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009292/0.57, allocations: 456.9 kB / 0.7161 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004604/0.5746, allocations: 2.865 MB / 0.7189 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.5753, allocations: 297.2 kB / 0.7192 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.5756, allocations: 149.3 kB / 0.7194 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003485/0.576, allocations: 344.7 kB / 0.7197 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.576, allocations: 46.78 kB / 0.7197 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.924e-06/0.576, allocations: 0 / 0.7197 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001318/0.5774, allocations: 0.5249 MB / 0.7202 GB, free: 4 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.5774, allocations: 55.41 kB / 0.7203 GB, free: 15.94 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.5787, allocations: 0.8742 MB / 0.7212 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.5788, allocations: 65.7 kB / 0.7212 GB, free: 14.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000502/0.5793, allocations: 487.2 kB / 0.7217 GB, free: 14.49 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.5795, allocations: 122.9 kB / 0.7218 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004573/0.5799, allocations: 287.1 kB / 0.7221 GB, free: 14.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5801, allocations: 330.1 kB / 0.7224 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/0.5805, allocations: 197.4 kB / 0.7226 GB, free: 13.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.5821, allocations: 1.147 MB / 0.7237 GB, free: 12.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00089/0.583, allocations: 467.4 kB / 0.7241 GB, free: 11.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.583, allocations: 0 / 0.7241 GB, free: 11.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001376/0.5844, allocations: 0.6583 MB / 0.7248 GB, free: 10.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.5844, allocations: 8 kB / 0.7248 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.5844, allocations: 0 / 0.7248 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.5845, allocations: 8 kB / 0.7248 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.5859, allocations: 243.7 kB / 0.725 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.5878, allocations: 2.957 MB / 0.7279 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003423/0.5912, allocations: 0.6991 MB / 0.7286 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.495e-05/0.5914, allocations: 31.98 kB / 0.7286 GB, free: 6.844 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000849/0.5922, allocations: 365.3 kB / 0.729 GB, free: 6.484 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001561/0.5938, allocations: 1.154 MB / 0.7301 GB, free: 4.953 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008724/0.5947, allocations: 464.7 kB / 0.7306 GB, free: 4.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.847e-06/0.5947, allocations: 0 / 0.7306 GB, free: 4.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001618/0.5963, allocations: 0.6555 MB / 0.7312 GB, free: 3.801 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.5963, allocations: 4 kB / 0.7312 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.5963, allocations: 4 kB / 0.7312 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5964, allocations: 8 kB / 0.7312 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.5971, allocations: 155.8 kB / 0.7314 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.5971, allocations: 8 kB / 0.7314 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004483/0.6016, allocations: 0.9616 MB / 0.7323 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.018e-05/0.6017, allocations: 23.98 kB / 0.7323 GB, free: 2.637 MB / 0.545 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 (73): * Single equations (assignments): 68 * 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.0004038/0.6021, allocations: 245.1 kB / 0.7326 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.6024, allocations: 95.34 kB / 0.7327 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.6036, allocations: 0.5159 MB / 0.7332 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.6037, allocations: 4 kB / 0.7332 GB, free: 1.766 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.6037, allocations: 3.984 kB / 0.7332 GB, free: 1.762 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.6037, allocations: 3.984 kB / 0.7332 GB, free: 1.758 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.6059, allocations: 1.238 MB / 0.7344 GB, free: 464 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.606, allocations: 4 kB / 0.7344 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/0.6065, allocations: 119.8 kB / 0.7345 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.6065, allocations: 4 kB / 0.7345 GB, free: 336 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.6066, allocations: 15.92 kB / 0.7345 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.6084, allocations: 2.938 MB / 0.7374 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6084, allocations: 4.031 kB / 0.7374 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009771/0.6094, allocations: 0.5677 MB / 0.7379 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003545/0.6097, allocations: 216.3 kB / 0.7381 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.6099, allocations: 8 kB / 0.7382 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004411/0.6103, allocations: 27.91 kB / 0.7382 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.6104, allocations: 35.89 kB / 0.7382 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.6104, allocations: 16 kB / 0.7382 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007882/0.6112, allocations: 0.5878 MB / 0.7388 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6112, allocations: 0 / 0.7388 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001721/0.613, allocations: 0.5341 MB / 0.7393 GB, free: 11.21 MB / 0.5606 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.0007423/0.6137, allocations: 330.8 kB / 0.7396 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002866/0.6166, allocations: 0.8622 MB / 0.7405 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6166, allocations: 4 kB / 0.7405 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005867/0.6172, allocations: 219.8 kB / 0.7407 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/0.6192, allocations: 407.3 kB / 0.7411 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.6222, allocations: 1.541 MB / 0.7426 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008146/0.623, allocations: 1.021 MB / 0.7436 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.6233, allocations: 79.41 kB / 0.7437 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/0.6233, allocations: 0 / 0.7437 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of Templates: time 0.0488/0.6721, allocations: 35.76 MB / 0.7786 GB, free: 3.188 MB / 0.5919 GB " [Timeout remaining time 659] 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: 12.235410968074575] Failed to read output from testmodel.py, exit status != 0: 0.6804105039918795 0.694882019 0.130167068 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff6a170e050>