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.001885/0.001885, allocations: 114.8 kB / 19.69 MB, free: 2.047 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.001767/0.001767, allocations: 220.4 kB / 23.01 MB, free: 4.926 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9609/0.9609, allocations: 150 MB / 463.2 MB, free: 10.45 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [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.002257/0.002257, allocations: 70.52 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1871, allocations: 89.17 MB / 0.7283 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00203/0.1892, allocations: 0.6116 MB / 0.7289 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.1908, allocations: 1.143 MB / 0.7301 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.1909, allocations: 4 kB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.191, allocations: 4 kB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.328e-05/0.191, allocations: 11.92 kB / 0.7301 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.1915, allocations: 123.6 kB / 0.7302 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.1917, allocations: 91.81 kB / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.017e-05/0.1918, allocations: 11.94 kB / 0.7303 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.753e-05/0.1919, allocations: 31.92 kB / 0.7303 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.192, allocations: 39.88 kB / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.192, allocations: 8 kB / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.058e-05/0.1921, allocations: 19.98 kB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.902e-05/0.1921, allocations: 8 kB / 0.7304 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.65e-05/0.1922, allocations: 39.84 kB / 0.7304 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.1924, allocations: 83.78 kB / 0.7305 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1924, allocations: 4 kB / 0.7305 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1924, allocations: 0 / 0.7305 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.1924, allocations: 0 / 0.7305 GB, free: 14.99 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.0004841/0.1929, allocations: 303.9 kB / 0.7308 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1929, allocations: 8.031 kB / 0.7308 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.1929, allocations: 38.69 kB / 0.7309 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.193, allocations: 8.891 kB / 0.7309 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.1931, allocations: 134.4 kB / 0.731 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1932, allocations: 4.375 kB / 0.731 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.1932, allocations: 4.375 kB / 0.731 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.1933, allocations: 50.25 kB / 0.731 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.1933, allocations: 3.938 kB / 0.731 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1933, allocations: 4 kB / 0.7311 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1933, allocations: 0 / 0.7311 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.329e-05/0.1933, allocations: 11.98 kB / 0.7311 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.1937, allocations: 279.8 kB / 0.7313 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.209e-05/0.1938, allocations: 22.58 kB / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.1938, allocations: 8.922 kB / 0.7314 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.1938, allocations: 0 / 0.7314 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.194, allocations: 59.39 kB / 0.7314 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.194, allocations: 3.938 kB / 0.7314 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001877/0.1942, allocations: 73.61 kB / 0.7315 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.1942, allocations: 51.41 kB / 0.7315 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.414e-05/0.1943, allocations: 109.8 kB / 0.7316 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.1943, allocations: 25.7 kB / 0.7317 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.1944, allocations: 92.12 kB / 0.7318 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.1944, allocations: 7.953 kB / 0.7318 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/0.1945, allocations: 29.7 kB / 0.7318 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1946, allocations: 318.8 kB / 0.7321 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.268e-05/0.1947, allocations: 31.98 kB / 0.7321 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.1948, allocations: 46.55 kB / 0.7322 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1949, allocations: 84.2 kB / 0.7323 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1949, allocations: 0 / 0.7323 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002541/0.1951, allocations: 143.3 kB / 0.7324 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.1952, allocations: 37.8 kB / 0.7324 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1952, allocations: 0 / 0.7324 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1952, allocations: 0 / 0.7324 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-05/0.1952, allocations: 7.984 kB / 0.7324 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1952, allocations: 0 / 0.7324 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.1954, allocations: 39.8 kB / 0.7325 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.1954, allocations: 4 kB / 0.7325 GB, free: 12.74 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.0001026/0.1955, allocations: 123.8 kB / 0.7326 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.1955, allocations: 0 / 0.7326 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.1956, allocations: 11.98 kB / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1956, allocations: 4 kB / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1956, allocations: 0 / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1956, allocations: 0 / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.1957, allocations: 136.6 kB / 0.7327 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1957, allocations: 320 / 0.7327 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.265e-06/0.1957, allocations: 3.984 kB / 0.7327 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.1957, allocations: 4 kB / 0.7327 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.1957, allocations: 0 / 0.7327 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1957, allocations: 8 kB / 0.7328 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1957, allocations: 0 / 0.7328 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.1958, allocations: 81 kB / 0.7328 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-06/0.1958, allocations: 3.953 kB / 0.7328 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.1959, allocations: 7.938 kB / 0.7328 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.772e-05/0.1959, allocations: 7.984 kB / 0.7328 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.1959, allocations: 0 / 0.7328 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.1959, allocations: 0 / 0.7328 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.1959, allocations: 87.28 kB / 0.7329 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1959, allocations: 0 / 0.7329 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002174/0.1962, allocations: 19.98 kB / 0.733 GB, free: 12.18 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.0004674/0.1966, allocations: 0.6202 MB / 0.7336 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.1968, allocations: 111.6 kB / 0.7337 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1968, allocations: 4 kB / 0.7337 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.463e-05/0.1969, allocations: 4 kB / 0.7337 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.1971, allocations: 11.06 kB / 0.7337 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.1986, allocations: 1.381 MB / 0.735 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1989, allocations: 0.6807 MB / 0.7357 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.57e-05/0.199, allocations: 7.984 kB / 0.7357 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.199, allocations: 11.44 kB / 0.7357 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of SimCode: time 4.2e-07/0.199, allocations: 3.938 kB / 0.7357 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.2284, allocations: 2.1 MB / 0.7378 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.13, allocations: 7.453 kB / 0.7378 GB, free: 7.223 MB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.880011579021811] Failed to read output from testmodel.py, exit status != 0: 11.23694059997797 11.251831999 11.056445564 Calling exit ...