Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.001289/0.001289, allocations: 84.8 kB / 19.94 MB, free: 1.777 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.001348/0.001348, allocations: 163 kB / 23.21 MB, free: 4.91 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.366/1.366, allocations: 177.2 MB / 203.5 MB, free: 9.176 MB / 190.1 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.8996/0.8996, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5547 GB, free: 2.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.543e-05, allocations: 5.234 kB / 0.5547 GB, free: 2.648 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02132/0.02134, allocations: 17.8 MB / 0.5721 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008294/0.02964, allocations: 4.711 MB / 0.5767 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007348/0.03037, allocations: 27.69 kB / 0.5767 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000856/0.03123, allocations: 269.9 kB / 0.5769 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.03338, allocations: 0.8182 MB / 0.5777 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.03565, allocations: 0.917 MB / 0.5786 GB, free: 10.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002053/0.0377, allocations: 1.497 MB / 0.5801 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006446/0.03835, allocations: 413.4 kB / 0.5805 GB, free: 8.121 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.03978, allocations: 0.8685 MB / 0.5813 GB, free: 7.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00071/0.04049, allocations: 462.6 kB / 0.5818 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.0406, allocations: 56 kB / 0.5818 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.04168, allocations: 0.5301 MB / 0.5824 GB, free: 6.211 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.04188, allocations: 171.2 kB / 0.5825 GB, free: 6.043 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000325/0.04221, allocations: 255.3 kB / 0.5828 GB, free: 5.793 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.04369, allocations: 1.094 MB / 0.5838 GB, free: 4.695 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.0437, allocations: 0 / 0.5838 GB, free: 4.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.0437, allocations: 0 / 0.5838 GB, free: 4.695 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.04371, allocations: 3.938 kB / 0.5838 GB, free: 4.691 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001949/0.04566, allocations: 1.018 MB / 0.5848 GB, free: 3.641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.04569, allocations: 16.61 kB / 0.5848 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/0.04788, allocations: 244.1 kB / 0.5851 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009239/0.04881, allocations: 479.6 kB / 0.5855 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.062e-05/0.04885, allocations: 37 kB / 0.5856 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.04895, allocations: 51.94 kB / 0.5856 GB, free: 2.809 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.05041, allocations: 0.791 MB / 0.5864 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.05043, allocations: 3.984 kB / 0.5864 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.427e-05/0.0505, allocations: 24 kB / 0.5864 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.05051, allocations: 16 kB / 0.5864 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.05214, allocations: 0.6908 MB / 0.5871 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006677/0.05882, allocations: 3.387 MB / 0.5904 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00098/0.0598, allocations: 395.9 kB / 0.5908 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007054/0.0605, allocations: 291.5 kB / 0.5911 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/0.06072, allocations: 39.97 kB / 0.5911 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.06075, allocations: 30.56 kB / 0.5911 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.815e-06/0.06076, allocations: 4 kB / 0.5911 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.006825/0.06758, allocations: 1.282 MB / 0.5924 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.06763, allocations: 55.41 kB / 0.5924 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008409/0.06847, allocations: 0.5186 MB / 0.593 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.964e-05/0.06857, allocations: 33.7 kB / 0.593 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00029/0.06886, allocations: 336.8 kB / 0.5933 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.06902, allocations: 138.8 kB / 0.5934 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/0.06926, allocations: 118.2 kB / 0.5936 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.06948, allocations: 370.7 kB / 0.5939 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007056/0.07018, allocations: 295.3 kB / 0.5942 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009278/0.07111, allocations: 0.5011 MB / 0.5947 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.07261, allocations: 0.7156 MB / 0.5954 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.07261, allocations: 0 / 0.5954 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.005763/0.07838, allocations: 1.243 MB / 0.5966 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.0784, allocations: 4 kB / 0.5966 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.07841, allocations: 8 kB / 0.5966 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007938/0.07921, allocations: 201.1 kB / 0.5968 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007683/0.07997, allocations: 139.8 kB / 0.5969 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008909/0.08087, allocations: 0.689 MB / 0.5976 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007991/0.08166, allocations: 83.58 kB / 0.5977 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.98e-05/0.08176, allocations: 31.92 kB / 0.5977 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000928/0.08269, allocations: 422.4 kB / 0.5981 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008621/0.08355, allocations: 0.4972 MB / 0.5986 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001458/0.08501, allocations: 0.7115 MB / 0.5993 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-06/0.08501, allocations: 0 / 0.5993 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001909/0.08692, allocations: 0.8092 MB / 0.6001 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.08694, allocations: 4 kB / 0.6001 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.08694, allocations: 4 kB / 0.6001 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.08696, allocations: 8.562 kB / 0.6001 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008845/0.08784, allocations: 163.7 kB / 0.6003 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.08785, allocations: 8 kB / 0.6003 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007189/0.08857, allocations: 75.66 kB / 0.6003 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.232e-05/0.08864, allocations: 27.98 kB / 0.6004 GB, free: 3.117 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002664/0.08891, allocations: 224 kB / 0.6006 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.08905, allocations: 59.58 kB / 0.6006 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005118/0.09416, allocations: 1.125 MB / 0.6017 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.09418, allocations: 4 kB / 0.6017 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.09419, allocations: 3.938 kB / 0.6017 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.0942, allocations: 7.984 kB / 0.6017 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006838/0.101, allocations: 1.801 MB / 0.6035 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.101, allocations: 8.156 kB / 0.6035 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/0.1016, allocations: 87.81 kB / 0.6036 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005469/0.1021, allocations: 188.7 kB / 0.6038 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.177e-05/0.1022, allocations: 12 kB / 0.6038 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.1037, allocations: 0.7007 MB / 0.6045 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1037, allocations: 0 / 0.6045 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004876/0.1086, allocations: 1.16 MB / 0.6056 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003054/0.1089, allocations: 127.4 kB / 0.6057 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.109, allocations: 8 kB / 0.6057 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006127/0.1096, allocations: 43.95 kB / 0.6058 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.1097, allocations: 31.94 kB / 0.6058 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.1097, allocations: 19.98 kB / 0.6058 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004505/0.1102, allocations: 346.8 kB / 0.6062 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1102, allocations: 0 / 0.6062 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001172/0.1114, allocations: 411.1 kB / 0.6065 GB, free: 12.65 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005683/0.1119, allocations: 277.3 kB / 0.6068 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002479/0.1144, allocations: 1.02 MB / 0.6078 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1144, allocations: 4 kB / 0.6078 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001592/0.116, allocations: 379.6 kB / 0.6082 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.1171, allocations: 202.8 kB / 0.6084 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.119, allocations: 1.112 MB / 0.6095 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.1193, allocations: 306.5 kB / 0.6097 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006579/0.12, allocations: 167 kB / 0.6099 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.1203, allocations: 64.47 kB / 0.61 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.1203, allocations: 0 / 0.61 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of Templates: time 0.0273/0.1476, allocations: 15.76 MB / 0.6254 GB, free: 9.523 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.84735045209527] Failed to read output from testmodel.py, exit status != 0: 0.15690138190984726 0.172263685 0.125255054 Calling exit ...