Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.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.001894/0.001894, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002237/0.002237, allocations: 211.5 kB / 22.99 MB, free: 4.609 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.508/1.508, allocations: 230.6 MB / 256.8 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 1.051/1.051, allocations: 149.9 MB / 463.1 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",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.002245/0.002245, allocations: 70 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.19, allocations: 89.17 MB / 0.7282 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.And): time 0.00238/0.1924, allocations: 0.625 MB / 0.7288 GB, free: 436 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.1941, allocations: 1.21 MB / 0.73 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.262e-05/0.1942, allocations: 0 / 0.73 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.1942, allocations: 3.938 kB / 0.73 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.853e-05/0.1943, allocations: 15.88 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006366/0.1949, allocations: 209.9 kB / 0.7302 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.1952, allocations: 179.6 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.489e-05/0.1953, allocations: 11.98 kB / 0.7304 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1954, allocations: 63.91 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1955, allocations: 51.84 kB / 0.7305 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.1955, allocations: 16 kB / 0.7305 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.351e-05/0.1956, allocations: 31.98 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.1956, allocations: 15.92 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.534e-05/0.1957, allocations: 55.83 kB / 0.7306 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.196, allocations: 155.8 kB / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.196, allocations: 0 / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.196, allocations: 0 / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.196, allocations: 0 / 0.7307 GB, free: 14.42 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.0005805/0.1966, allocations: 361.5 kB / 0.7311 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1966, allocations: 12.03 kB / 0.7311 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.14e-05/0.1967, allocations: 30.75 kB / 0.7311 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.1967, allocations: 12.94 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.1968, allocations: 114.5 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1969, allocations: 4.375 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.1969, allocations: 12.36 kB / 0.7313 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.197, allocations: 50.25 kB / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.197, allocations: 3.938 kB / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.197, allocations: 4 kB / 0.7313 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.197, allocations: 7.875 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.09e-05/0.1971, allocations: 15.98 kB / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.1976, allocations: 295.9 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.939e-05/0.1976, allocations: 34.56 kB / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.1977, allocations: 12.86 kB / 0.7317 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.251e-06/0.1977, allocations: 0 / 0.7317 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.1979, allocations: 87.36 kB / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1979, allocations: 0 / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.00026/0.1982, allocations: 105.6 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.1982, allocations: 55.41 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.1983, allocations: 125.7 kB / 0.732 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.1984, allocations: 33.7 kB / 0.7321 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/0.1984, allocations: 84.52 kB / 0.7321 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.1985, allocations: 23.89 kB / 0.7322 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/0.1986, allocations: 49.69 kB / 0.7322 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1987, allocations: 318.8 kB / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.1989, allocations: 127.3 kB / 0.7326 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.1991, allocations: 147.7 kB / 0.7328 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.1993, allocations: 167.6 kB / 0.7329 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1993, allocations: 0 / 0.7329 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005585/0.1999, allocations: 328.2 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/0.1999, allocations: 67.39 kB / 0.7333 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1999, allocations: 0 / 0.7333 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.2, allocations: 4 kB / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.401e-05/0.2, allocations: 3.938 kB / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.2, allocations: 7.984 kB / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.2003, allocations: 52.02 kB / 0.7334 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.2004, allocations: 16 kB / 0.7334 GB, free: 11.39 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001124/0.2005, allocations: 125.8 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.2005, allocations: 4 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.2005, allocations: 8.375 kB / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2005, allocations: 0 / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2005, allocations: 0 / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2005, allocations: 0 / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.2007, allocations: 148.6 kB / 0.7337 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2007, allocations: 7.938 kB / 0.7337 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.087e-05/0.2007, allocations: 7.938 kB / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2007, allocations: 0 / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.2007, allocations: 0 / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2007, allocations: 4.062 kB / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2007, allocations: 4 kB / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.2009, allocations: 117.1 kB / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.2009, allocations: 7.891 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.2009, allocations: 7.984 kB / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.957e-05/0.2009, allocations: 0 / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.201, allocations: 8 kB / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.201, allocations: 3.984 kB / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.805e-05/0.201, allocations: 91.28 kB / 0.7339 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.201, allocations: 0 / 0.7339 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002427/0.2013, allocations: 31.98 kB / 0.7339 GB, free: 10.75 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005765/0.2018, allocations: 0.6475 MB / 0.7346 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003947/0.2022, allocations: 278.1 kB / 0.7348 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2022, allocations: 0 / 0.7348 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.156e-05/0.2023, allocations: 23.94 kB / 0.7349 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.2025, allocations: 21.95 kB / 0.7349 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.2049, allocations: 1.954 MB / 0.7368 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.685e-05/0.2049, allocations: 75.33 kB / 0.7369 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.856e-05/0.205, allocations: 4.562 kB / 0.7369 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.205, allocations: 19.42 kB / 0.7369 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.205, allocations: 0 / 0.7369 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04155/0.2466, allocations: 3.634 MB / 0.7404 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.45, allocations: 11.08 kB / 0.7404 GB, free: 4.008 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.400837979279459] Failed to read output from testmodel.py, exit status != 0: 11.561526353936642 11.58862883 11.387789268 Calling exit ...