Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not.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.00136/0.00136, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002498/0.002498, allocations: 209 kB / 22.99 MB, free: 4.977 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.579/1.579, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.019/1.019, allocations: 149.9 MB / 463.1 MB, free: 10.31 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.Not,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Not",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.00229/0.00229, allocations: 67.81 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1938, allocations: 89.17 MB / 0.7282 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Not): time 0.002442/0.1962, allocations: 0.6035 MB / 0.7288 GB, free: 376 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.1982, allocations: 1.12 MB / 0.7298 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.1982, allocations: 0 / 0.7298 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.1982, allocations: 0 / 0.7298 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.17e-05/0.1983, allocations: 7.938 kB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.1988, allocations: 126.5 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.199, allocations: 91.81 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.1991, allocations: 4 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.287e-05/0.1992, allocations: 31.97 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1993, allocations: 27.89 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.1994, allocations: 8 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.65e-05/0.1994, allocations: 23.98 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.1995, allocations: 0 / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.801e-05/0.1995, allocations: 31.92 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1997, allocations: 87.94 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1997, allocations: 4 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1997, allocations: 0 / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.1997, allocations: 0 / 0.7303 GB, free: 14.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005523/0.2003, allocations: 300 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.2003, allocations: 8.031 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.2004, allocations: 30.75 kB / 0.7306 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.2004, allocations: 4.938 kB / 0.7306 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.2005, allocations: 110.5 kB / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.2006, allocations: 8.359 kB / 0.7307 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.2006, allocations: 12.31 kB / 0.7307 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.2007, allocations: 38.25 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.2007, allocations: 3.938 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2007, allocations: 0 / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2007, allocations: 0 / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.321e-05/0.2008, allocations: 11.94 kB / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.2012, allocations: 248 kB / 0.731 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.71e-05/0.2013, allocations: 22.58 kB / 0.731 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/0.2013, allocations: 4.859 kB / 0.731 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.2013, allocations: 4.062 kB / 0.731 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002959/0.2016, allocations: 63.31 kB / 0.7311 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.2016, allocations: 4 kB / 0.7311 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002308/0.2018, allocations: 61.69 kB / 0.7312 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.2019, allocations: 51.41 kB / 0.7312 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.202, allocations: 109.8 kB / 0.7313 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.202, allocations: 25.7 kB / 0.7313 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.2021, allocations: 84.14 kB / 0.7314 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.2021, allocations: 11.89 kB / 0.7314 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-05/0.2022, allocations: 33.64 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2024, allocations: 326.8 kB / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.2025, allocations: 57.69 kB / 0.7318 GB, free: 13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.2026, allocations: 80.25 kB / 0.7319 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.2027, allocations: 84.27 kB / 0.732 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2027, allocations: 0 / 0.732 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002825/0.203, allocations: 169.2 kB / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.178e-05/0.203, allocations: 45.62 kB / 0.7322 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2031, allocations: 0 / 0.7322 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.2031, allocations: 4 kB / 0.7322 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.863e-05/0.2031, allocations: 3.984 kB / 0.7322 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2031, allocations: 0 / 0.7322 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.2033, allocations: 28.38 kB / 0.7322 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.2033, allocations: 4 kB / 0.7322 GB, free: 12.53 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.0001247/0.2035, allocations: 129.7 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.2035, allocations: 3.953 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.2035, allocations: 3.688 kB / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2035, allocations: 4 kB / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.2035, allocations: 4 kB / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2035, allocations: 0 / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.2037, allocations: 132.7 kB / 0.7325 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2037, allocations: 0 / 0.7325 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-06/0.2037, allocations: 0 / 0.7325 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2037, allocations: 4 kB / 0.7325 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.2037, allocations: 3.938 kB / 0.7325 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2037, allocations: 0 / 0.7325 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2037, allocations: 0 / 0.7325 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.2038, allocations: 88.98 kB / 0.7326 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-06/0.2038, allocations: 3.953 kB / 0.7326 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.2038, allocations: 4 kB / 0.7326 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.529e-05/0.2039, allocations: 4 kB / 0.7326 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.2039, allocations: 7.984 kB / 0.7326 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.2039, allocations: 0 / 0.7326 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.242e-05/0.2039, allocations: 79.28 kB / 0.7327 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2039, allocations: 0 / 0.7327 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002206/0.2042, allocations: 23.94 kB / 0.7327 GB, free: 11.97 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.000525/0.2047, allocations: 0.6193 MB / 0.7333 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000254/0.2049, allocations: 133.1 kB / 0.7334 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2049, allocations: 0 / 0.7334 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.343e-05/0.205, allocations: 16.11 kB / 0.7335 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.2052, allocations: 10.42 kB / 0.7335 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.2069, allocations: 1.481 MB / 0.7349 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.705e-05/0.2069, allocations: 63.34 kB / 0.735 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.147e-05/0.207, allocations: 4 kB / 0.735 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.207, allocations: 11.44 kB / 0.735 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.207, allocations: 0 / 0.735 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.2381, allocations: 2.553 MB / 0.7375 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.33, allocations: 0 / 0.7375 GB, free: 7.047 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Not.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.411782231647521] Failed to read output from testmodel.py, exit status != 0: 11.434669849928468 11.45314174 11.249884153 Calling exit ...