Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.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.001433/0.001433, 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.001649/0.001649, allocations: 209.6 kB / 22.99 MB, free: 4.605 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.549/1.549, 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.019/1.019, allocations: 149.9 MB / 463 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.Nand,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand",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.002119/0.002119, allocations: 67.17 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1903, allocations: 89.18 MB / 0.7282 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001969/0.1922, allocations: 0.6257 MB / 0.7288 GB, free: 428 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.1939, allocations: 1.198 MB / 0.73 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.1939, allocations: 4 kB / 0.73 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.194, allocations: 3.938 kB / 0.73 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.527e-05/0.194, allocations: 19.86 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006249/0.1947, allocations: 208.9 kB / 0.7302 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.1949, allocations: 175.7 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.931e-05/0.195, allocations: 11.98 kB / 0.7304 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.631e-05/0.1951, allocations: 63.89 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.1952, allocations: 63.84 kB / 0.7305 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.1952, allocations: 12 kB / 0.7305 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.539e-05/0.1953, allocations: 31.98 kB / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.1953, allocations: 0 / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.336e-05/0.1954, allocations: 63.81 kB / 0.7306 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.1956, allocations: 151.8 kB / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1956, allocations: 0 / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.724e-06/0.1956, allocations: 0 / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.1956, allocations: 3.938 kB / 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.0005419/0.1962, allocations: 361.5 kB / 0.7311 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1962, allocations: 12.03 kB / 0.7311 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.094e-05/0.1962, allocations: 34.73 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.1963, allocations: 8.938 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.1964, allocations: 114.5 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.1965, allocations: 4.375 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.1965, allocations: 12.38 kB / 0.7313 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.1966, allocations: 50.23 kB / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1966, allocations: 7.875 kB / 0.7313 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1966, allocations: 3.938 kB / 0.7313 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1966, allocations: 0 / 0.7313 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.271e-05/0.1967, allocations: 19.98 kB / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.1971, allocations: 295.9 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.337e-05/0.1972, allocations: 30.58 kB / 0.7316 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.1973, allocations: 12.94 kB / 0.7317 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.1973, allocations: 7.938 kB / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.1974, allocations: 79.33 kB / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1974, allocations: 0 / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002443/0.1977, allocations: 109.6 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.1977, allocations: 55.34 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.1978, allocations: 121.8 kB / 0.732 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.1979, allocations: 33.7 kB / 0.732 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.1979, allocations: 92.14 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.1979, allocations: 11.91 kB / 0.7321 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.198, allocations: 53.67 kB / 0.7322 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1982, allocations: 322.8 kB / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.1983, allocations: 115.4 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.1985, allocations: 156 kB / 0.7328 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.1987, allocations: 159.6 kB / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1987, allocations: 4 kB / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000457/0.1992, allocations: 328.2 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.124e-05/0.1992, allocations: 67.39 kB / 0.7333 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1992, allocations: 320 / 0.7333 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1993, allocations: 4 kB / 0.7333 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.915e-05/0.1993, allocations: 3.938 kB / 0.7333 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1993, allocations: 4 kB / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.1996, allocations: 60 kB / 0.7334 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.1996, allocations: 11.98 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,nand1.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.0001125/0.1997, allocations: 129.8 kB / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.1998, allocations: 4 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.1998, allocations: 8.359 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1998, allocations: 4 kB / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1998, allocations: 0 / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1998, allocations: 0 / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.1999, allocations: 160.5 kB / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1999, allocations: 0 / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.218e-05/0.1999, allocations: 7.938 kB / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1999, allocations: 0 / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.2, allocations: 4 kB / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2, allocations: 0 / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2, allocations: 0 / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.2001, allocations: 113 kB / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.2001, allocations: 7.953 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.2001, allocations: 4.062 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.126e-05/0.2002, allocations: 3.984 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.2002, allocations: 8 kB / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.2002, allocations: 8 kB / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.886e-05/0.2003, allocations: 95.2 kB / 0.7339 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2003, allocations: 0 / 0.7339 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000226/0.2005, allocations: 27.94 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,nand1.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.0004924/0.201, allocations: 0.6553 MB / 0.7346 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003699/0.2014, allocations: 278.1 kB / 0.7348 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2014, allocations: 256 / 0.7348 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.533e-05/0.2014, allocations: 23.94 kB / 0.7349 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.2016, allocations: 19.27 kB / 0.7349 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.2038, allocations: 1.961 MB / 0.7368 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.604e-05/0.2039, allocations: 74.58 kB / 0.7369 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.835e-05/0.2039, allocations: 4 kB / 0.7369 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.2039, allocations: 27.38 kB / 0.7369 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.2039, allocations: 0 / 0.7369 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03288/0.2368, allocations: 3.622 MB / 0.7404 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.47, allocations: 10.39 kB / 0.7404 GB, free: 4.012 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand_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_Nand.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.502006385941058] Failed to read output from testmodel.py, exit status != 0: 11.578402145765722 11.595084356 11.396193228 Calling exit ...