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.001777/0.001777, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 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.002151/0.002151, allocations: 208.7 kB / 23.76 MB, free: 4.727 MB / 14.72 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.9688/0.9688, allocations: 150 MB / 463.9 MB, free: 10.52 MB / 366.1 MB " [Timeout remaining time 178] 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 66.89 kB / 0.6425 GB, free: 9.918 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1792, allocations: 89.17 MB / 0.7296 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03726/0.2165, allocations: 30.3 MB / 0.7592 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3442/0.5606, allocations: 8.082 MB / 0.7671 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.5619, allocations: 49.31 kB / 0.7671 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.5631, allocations: 433.5 kB / 0.7675 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00405/0.5672, allocations: 1.438 MB / 0.7689 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.5702, allocations: 1.17 MB / 0.7701 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004523/0.5747, allocations: 3.528 MB / 0.7735 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002219/0.5769, allocations: 1.175 MB / 0.7747 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003501/0.5804, allocations: 1.775 MB / 0.7764 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003861/0.5843, allocations: 1.697 MB / 0.7781 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006704/0.5849, allocations: 125.1 kB / 0.7782 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003006/0.5879, allocations: 1.037 MB / 0.7792 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005555/0.5885, allocations: 409.9 kB / 0.7796 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.5899, allocations: 0.7385 MB / 0.7803 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004159/0.5941, allocations: 2.193 MB / 0.7824 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.5941, allocations: 0 / 0.7824 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.464e-06/0.5941, allocations: 0.6094 kB / 0.7824 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.751e-05/0.5942, allocations: 4.969 kB / 0.7824 GB, free: 6.477 MB / 0.5762 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.003628/0.5978, allocations: 1.601 MB / 0.784 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.5978, allocations: 9.938 kB / 0.784 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.5991, allocations: 210.7 kB / 0.7842 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.6015, allocations: 0.851 MB / 0.785 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.971e-05/0.6016, allocations: 81.94 kB / 0.7851 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/0.6018, allocations: 119.8 kB / 0.7852 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.603, allocations: 0.6781 MB / 0.7859 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.6031, allocations: 0 / 0.7859 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/0.6031, allocations: 27.42 kB / 0.7859 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.6031, allocations: 23.77 kB / 0.786 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.6041, allocations: 0.5253 MB / 0.7865 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005428/0.6096, allocations: 3.055 MB / 0.7894 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/0.6102, allocations: 311.8 kB / 0.7897 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.6105, allocations: 166.2 kB / 0.7899 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.6107, allocations: 39.02 kB / 0.7899 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.6107, allocations: 36.34 kB / 0.79 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/0.6107, allocations: 0 / 0.79 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001553/0.6122, allocations: 0.6063 MB / 0.7906 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.6123, allocations: 62 kB / 0.7906 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.6133, allocations: 0.8759 MB / 0.7915 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002036/0.6135, allocations: 55.89 kB / 0.7915 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.6139, allocations: 490.7 kB / 0.792 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/0.614, allocations: 120.1 kB / 0.7921 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004067/0.6144, allocations: 291.4 kB / 0.7924 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.761e-05/0.6144, allocations: 330.8 kB / 0.7927 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/0.6148, allocations: 220.7 kB / 0.7929 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.616, allocations: 1.175 MB / 0.7941 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000825/0.6168, allocations: 0.5001 MB / 0.7946 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.6168, allocations: 1.5 kB / 0.7946 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001437/0.6183, allocations: 0.6989 MB / 0.7952 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.6183, allocations: 8.172 kB / 0.7952 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6183, allocations: 2.562 kB / 0.7953 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.6183, allocations: 4.094 kB / 0.7953 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.6198, allocations: 238.4 kB / 0.7955 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.6214, allocations: 2.961 MB / 0.7984 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003338/0.6248, allocations: 0.7021 MB / 0.7991 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.38e-05/0.6249, allocations: 25.62 kB / 0.7991 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009077/0.6258, allocations: 387.3 kB / 0.7995 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001554/0.6273, allocations: 1.186 MB / 0.8006 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009173/0.6283, allocations: 0.5017 MB / 0.8011 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.976e-06/0.6283, allocations: 5.312 kB / 0.8011 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001763/0.63, allocations: 0.7108 MB / 0.8018 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.63, allocations: 6.188 kB / 0.8018 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.63, allocations: 2.656 kB / 0.8018 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.6301, allocations: 5.625 kB / 0.8018 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007803/0.6308, allocations: 159.9 kB / 0.802 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.6308, allocations: 9.844 kB / 0.802 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00437/0.6352, allocations: 0.9673 MB / 0.8029 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.805e-05/0.6353, allocations: 31.52 kB / 0.803 GB, free: 11.36 MB / 0.5919 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.0003775/0.6357, allocations: 245.1 kB / 0.8032 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/0.6359, allocations: 97.36 kB / 0.8033 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.6373, allocations: 0.5594 MB / 0.8038 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.6373, allocations: 3.969 kB / 0.8038 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6373, allocations: 1.156 kB / 0.8038 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.423e-06/0.6373, allocations: 0 / 0.8038 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/0.6399, allocations: 1.329 MB / 0.8051 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.6399, allocations: 1.625 kB / 0.8051 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006328/0.6406, allocations: 123.8 kB / 0.8052 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.6406, allocations: 2.531 kB / 0.8052 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.6406, allocations: 16.45 kB / 0.8053 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.6423, allocations: 2.941 MB / 0.8081 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.6423, allocations: 5.094 kB / 0.8081 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.6434, allocations: 0.6236 MB / 0.8088 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003667/0.6438, allocations: 138.4 kB / 0.8089 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.6439, allocations: 11.59 kB / 0.8089 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005286/0.6445, allocations: 30.8 kB / 0.8089 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.6445, allocations: 32.22 kB / 0.809 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.6446, allocations: 14.73 kB / 0.809 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008641/0.6454, allocations: 0.5918 MB / 0.8095 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6454, allocations: 0 / 0.8095 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002036/0.6475, allocations: 0.5396 MB / 0.8101 GB, free: 5.77 MB / 0.5919 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.000655/0.6481, allocations: 297 kB / 0.8104 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002972/0.6511, allocations: 0.8787 MB / 0.8112 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6511, allocations: 0.625 kB / 0.8112 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006466/0.6518, allocations: 249.4 kB / 0.8115 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.6536, allocations: 413.2 kB / 0.8118 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.6565, allocations: 1.578 MB / 0.8134 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006465/0.6572, allocations: 1.018 MB / 0.8144 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.6574, allocations: 81.12 kB / 0.8145 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of SimCode: time 9.01e-07/0.6574, allocations: 0 / 0.8145 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of Templates: time 0.0483/0.7057, allocations: 36.24 MB / 0.8498 GB, free: 4.223 MB / 0.6231 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: 13.3317763118539] Failed to read output from testmodel.py, exit status != 0: 0.7167112960014492 0.731848106 0.13439684100000002 Calling exit ...