Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.0009422/0.0009422, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.00107/0.00107, allocations: 174.4 kB / 25.05 MB, free: 8.781 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.8997/0.8997, allocations: 177.1 MB / 205.5 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.947/1.947, allocations: 389.6 MB / 0.6363 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.7761 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.426e-05, allocations: 3.125 kB / 0.7761 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.006657/0.006681, allocations: 7.403 MB / 0.7834 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003336/0.01002, allocations: 3.24 MB / 0.7865 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.01022, allocations: 19.81 kB / 0.7866 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005605/0.01078, allocations: 200.5 kB / 0.7867 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005837/0.01136, allocations: 480.7 kB / 0.7872 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008428/0.0122, allocations: 0.6937 MB / 0.7879 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007291/0.01293, allocations: 0.9862 MB / 0.7888 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002753/0.01321, allocations: 265.2 kB / 0.7891 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004114/0.01362, allocations: 487.6 kB / 0.7896 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.01386, allocations: 260.1 kB / 0.7898 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.0139, allocations: 24 kB / 0.7898 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005241/0.01442, allocations: 488.5 kB / 0.7903 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.544e-05/0.0145, allocations: 103.5 kB / 0.7904 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.01462, allocations: 147.5 kB / 0.7905 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005516/0.01517, allocations: 0.6021 MB / 0.7911 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.01518, allocations: 0 / 0.7911 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.01518, allocations: 4 kB / 0.7911 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.01518, allocations: 0 / 0.7911 GB, free: 5.938 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0006602/0.01584, allocations: 0.7186 MB / 0.7918 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.01587, allocations: 9.344 kB / 0.7918 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.01601, allocations: 52.89 kB / 0.7919 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.01634, allocations: 333.4 kB / 0.7922 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.01635, allocations: 22.78 kB / 0.7922 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.01638, allocations: 27.94 kB / 0.7923 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.01656, allocations: 159.5 kB / 0.7924 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.01657, allocations: 0 / 0.7924 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.01658, allocations: 9.094 kB / 0.7924 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.01659, allocations: 8 kB / 0.7924 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.362e-05/0.01665, allocations: 43.47 kB / 0.7925 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006474/0.0173, allocations: 0.4915 MB / 0.7929 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.01741, allocations: 121.2 kB / 0.7931 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/0.01744, allocations: 35.66 kB / 0.7931 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.019e-05/0.01751, allocations: 19.98 kB / 0.7931 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.01753, allocations: 36.03 kB / 0.7932 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.01753, allocations: 0 / 0.7932 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0001652/0.01769, allocations: 104.5 kB / 0.7933 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.01772, allocations: 51.41 kB / 0.7933 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.01805, allocations: 381.9 kB / 0.7937 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.01807, allocations: 33.7 kB / 0.7937 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.01814, allocations: 193.5 kB / 0.7939 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.01816, allocations: 40.72 kB / 0.7939 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.01822, allocations: 61.61 kB / 0.794 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.0183, allocations: 354.7 kB / 0.7943 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.681e-05/0.01834, allocations: 29.94 kB / 0.7943 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.01848, allocations: 349.5 kB / 0.7947 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.299e-05/0.01856, allocations: 89.58 kB / 0.7948 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01856, allocations: 0 / 0.7948 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001291/0.01869, allocations: 127.1 kB / 0.7949 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.0187, allocations: 11.94 kB / 0.7949 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.01871, allocations: 4.859 kB / 0.7949 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.542e-06/0.01871, allocations: 0 / 0.7949 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.01883, allocations: 44.98 kB / 0.7949 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.01883, allocations: 0 / 0.7949 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.64e-05/0.01893, allocations: 28.84 kB / 0.795 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.01894, allocations: 11.98 kB / 0.795 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.17e-05/0.01902, allocations: 105.8 kB / 0.7951 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000125/0.01914, allocations: 361.2 kB / 0.7954 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.713e-05/0.01922, allocations: 93.83 kB / 0.7955 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.51e-07/0.01922, allocations: 0.8125 kB / 0.7955 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0001292/0.01935, allocations: 146.9 kB / 0.7957 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.841e-06/0.01935, allocations: 8 kB / 0.7957 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/0.01936, allocations: 1.156 kB / 0.7957 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-06/0.01936, allocations: 7.938 kB / 0.7957 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.636e-05/0.01944, allocations: 43.91 kB / 0.7957 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.01945, allocations: 5.062 kB / 0.7957 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.903e-05/0.01955, allocations: 27.88 kB / 0.7957 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.01956, allocations: 9.031 kB / 0.7958 GB, free: 0.8359 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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 6.343e-05/0.01962, allocations: 188.2 kB / 0.7959 GB, free: 0.6445 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.01965, allocations: 28.91 kB / 0.796 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.01982, allocations: 156.7 kB / 0.7961 GB, free: 476 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.01983, allocations: 0 / 0.7961 GB, free: 476 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.01983, allocations: 8 kB / 0.7961 GB, free: 468 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01983, allocations: 0 / 0.7961 GB, free: 468 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.02021, allocations: 0.4993 MB / 0.7966 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.02021, allocations: 0 / 0.7966 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/0.02027, allocations: 27.98 kB / 0.7966 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.02027, allocations: 4 kB / 0.7966 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.02028, allocations: 1 kB / 0.7966 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.02028, allocations: 4 kB / 0.7966 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.02028, allocations: 0 / 0.7966 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.02066, allocations: 294.6 kB / 0.7969 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.02071, allocations: 47.69 kB / 0.797 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.02073, allocations: 8 kB / 0.797 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.0208, allocations: 4 kB / 0.797 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.02083, allocations: 16.97 kB / 0.797 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.02084, allocations: 4 kB / 0.797 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001071/0.02095, allocations: 159.5 kB / 0.7972 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.02095, allocations: 1.906 kB / 0.7972 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003122/0.02126, allocations: 195.5 kB / 0.7973 GB, free: 15.13 MB / 0.7605 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001029/0.02229, allocations: 0.4983 MB / 0.7978 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.02247, allocations: 153.4 kB / 0.798 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.02248, allocations: 4.531 kB / 0.798 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.898e-05/0.02253, allocations: 45.78 kB / 0.798 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.02292, allocations: 167.2 kB / 0.7982 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008611/0.02378, allocations: 0.6772 MB / 0.7988 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.868e-05/0.02384, allocations: 109.3 kB / 0.7989 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.02396, allocations: 60.5 kB / 0.799 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.02418, allocations: 168.8 kB / 0.7992 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of SimCode: time 6.92e-07/0.02418, allocations: 0 / 0.7992 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of Templates: time 0.00929/0.03347, allocations: 8.109 MB / 0.8071 GB, free: 5.566 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.023575484752655]