Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.001574/0.001574, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001796/0.001796, allocations: 210.6 kB / 23.74 MB, free: 4.445 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.9528/0.9528, allocations: 149.9 MB / 463.8 MB, free: 10.36 MB / 366.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.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [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.002082/0.002082, allocations: 66.2 kB / 0.6423 GB, free: 9.688 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1866, allocations: 89.18 MB / 0.7294 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001952/0.1886, allocations: 0.5946 MB / 0.73 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.1902, allocations: 1.132 MB / 0.7311 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.1903, allocations: 3.938 kB / 0.7311 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.427e-05/0.1904, allocations: 3.938 kB / 0.7311 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.278e-05/0.1904, allocations: 3.984 kB / 0.7311 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.1909, allocations: 119 kB / 0.7312 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.1911, allocations: 99.8 kB / 0.7313 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.8e-05/0.1912, allocations: 11.94 kB / 0.7313 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.951e-05/0.1912, allocations: 35.92 kB / 0.7313 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.1913, allocations: 31.88 kB / 0.7314 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.1913, allocations: 8 kB / 0.7314 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.1e-05/0.1914, allocations: 23.98 kB / 0.7314 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.94e-05/0.1915, allocations: 4 kB / 0.7314 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.124e-05/0.1915, allocations: 27.92 kB / 0.7314 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1917, allocations: 87.78 kB / 0.7315 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1917, allocations: 0 / 0.7315 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1917, allocations: 0 / 0.7315 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1917, allocations: 0 / 0.7315 GB, free: 14.39 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000481/0.1922, allocations: 311.9 kB / 0.7318 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1922, allocations: 8.031 kB / 0.7318 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.1923, allocations: 12.89 kB / 0.7318 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.1925, allocations: 122.5 kB / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.1925, allocations: 4.375 kB / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.1925, allocations: 8.359 kB / 0.7319 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.1926, allocations: 50.25 kB / 0.732 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1926, allocations: 192 / 0.732 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1926, allocations: 7.875 kB / 0.732 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1926, allocations: 0 / 0.732 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.482e-05/0.1927, allocations: 12 kB / 0.732 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.193, allocations: 240.5 kB / 0.7322 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.971e-05/0.1931, allocations: 26.52 kB / 0.7323 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.1931, allocations: 4.859 kB / 0.7323 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/0.1931, allocations: 0 / 0.7323 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.1933, allocations: 67.45 kB / 0.7323 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.1933, allocations: 3.938 kB / 0.7323 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001874/0.1935, allocations: 65.67 kB / 0.7324 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.1935, allocations: 51.41 kB / 0.7325 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.1936, allocations: 109.8 kB / 0.7326 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.1936, allocations: 33.7 kB / 0.7326 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.1937, allocations: 88.14 kB / 0.7327 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.1937, allocations: 3.953 kB / 0.7327 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/0.1938, allocations: 29.7 kB / 0.7327 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1939, allocations: 318.8 kB / 0.733 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.802e-05/0.194, allocations: 65.62 kB / 0.7331 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1941, allocations: 72.27 kB / 0.7331 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.1942, allocations: 84.14 kB / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1942, allocations: 0 / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002794/0.1945, allocations: 185 kB / 0.7334 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.1945, allocations: 33.7 kB / 0.7334 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1946, allocations: 0 / 0.7334 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1946, allocations: 0 / 0.7334 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.822e-05/0.1946, allocations: 3.984 kB / 0.7334 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.1946, allocations: 11.92 kB / 0.7334 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.1948, allocations: 31.86 kB / 0.7335 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.1948, allocations: 8 kB / 0.7335 GB, free: 12.12 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001093/0.1949, allocations: 117.9 kB / 0.7336 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.1949, allocations: 7.984 kB / 0.7336 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.195, allocations: 8 kB / 0.7336 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.195, allocations: 240 / 0.7336 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.195, allocations: 0 / 0.7336 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.195, allocations: 0 / 0.7336 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.1951, allocations: 117.2 kB / 0.7337 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1951, allocations: 3.938 kB / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-06/0.1951, allocations: 0 / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.1951, allocations: 4 kB / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.1951, allocations: 0 / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1951, allocations: 4 kB / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1951, allocations: 0 / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.1952, allocations: 89.3 kB / 0.7338 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.405e-06/0.1952, allocations: 3.953 kB / 0.7338 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.1952, allocations: 0 / 0.7338 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.596e-05/0.1953, allocations: 4 kB / 0.7338 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.1953, allocations: 4 kB / 0.7338 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.1953, allocations: 0 / 0.7338 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.169e-05/0.1953, allocations: 87.27 kB / 0.7339 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1953, allocations: 4 kB / 0.7339 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002186/0.1956, allocations: 12 kB / 0.7339 GB, free: 11.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001386/0.1957, allocations: 111.2 kB / 0.734 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.1959, allocations: 137 kB / 0.7342 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1959, allocations: 0 / 0.7342 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.335e-05/0.196, allocations: 12 kB / 0.7342 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.1962, allocations: 23.23 kB / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.1965, allocations: 151.9 kB / 0.7343 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.648e-05/0.1966, allocations: 71.47 kB / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.1966, allocations: 11.42 kB / 0.7344 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.1966, allocations: 0 / 0.7344 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of Templates: time 0.002752/0.1993, allocations: 0.9165 MB / 0.7353 GB, free: 10.1 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.08716471400112] Failed to read output from testmodel.py, exit status != 0: 0.20803847629576921 0.223154187 0.028368568 Calling exit ...