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.001417/0.001417, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001679/0.001679, allocations: 213.1 kB / 23 MB, free: 5.074 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.9817/0.9817, allocations: 150 MB / 463.2 MB, free: 10.53 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.002308/0.002308, allocations: 67.55 kB / 0.6413 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1906, allocations: 89.18 MB / 0.7284 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002119/0.1927, allocations: 0.6326 MB / 0.729 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.1946, allocations: 1.229 MB / 0.7302 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.532e-05/0.1946, allocations: 0 / 0.7302 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.1947, allocations: 3.938 kB / 0.7302 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.535e-05/0.1948, allocations: 15.92 kB / 0.7302 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000733/0.1955, allocations: 205.7 kB / 0.7304 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.1958, allocations: 179.6 kB / 0.7306 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1959, allocations: 15.98 kB / 0.7306 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.196, allocations: 67.89 kB / 0.7306 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.1962, allocations: 59.86 kB / 0.7307 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.1962, allocations: 16 kB / 0.7307 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.733e-05/0.1963, allocations: 31.97 kB / 0.7308 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.1964, allocations: 7.984 kB / 0.7308 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.874e-05/0.1965, allocations: 55.84 kB / 0.7308 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.1967, allocations: 155.8 kB / 0.731 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1967, allocations: 0 / 0.731 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1967, allocations: 0 / 0.731 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.1967, allocations: 0 / 0.731 GB, free: 14.66 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.000689/0.1974, allocations: 369.5 kB / 0.7313 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1975, allocations: 8.031 kB / 0.7313 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.557e-05/0.1975, allocations: 34.69 kB / 0.7314 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.512e-05/0.1976, allocations: 8.938 kB / 0.7314 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.1977, allocations: 118.5 kB / 0.7315 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1978, allocations: 4.375 kB / 0.7315 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.1978, allocations: 8.375 kB / 0.7315 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.1979, allocations: 58.23 kB / 0.7315 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1979, allocations: 3.938 kB / 0.7315 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1979, allocations: 7.984 kB / 0.7316 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.198, allocations: 3.938 kB / 0.7316 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.845e-05/0.198, allocations: 15.94 kB / 0.7316 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.1986, allocations: 319.8 kB / 0.7319 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/0.1987, allocations: 30.58 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.1987, allocations: 12.94 kB / 0.7319 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.1987, allocations: 4 kB / 0.7319 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.1989, allocations: 91.23 kB / 0.732 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.1989, allocations: 0 / 0.732 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002655/0.1992, allocations: 105.6 kB / 0.7321 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.1993, allocations: 51.41 kB / 0.7322 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.1994, allocations: 125.8 kB / 0.7323 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.1994, allocations: 29.7 kB / 0.7323 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/0.1995, allocations: 92.14 kB / 0.7324 GB, free: 13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.1995, allocations: 19.89 kB / 0.7324 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.1997, allocations: 49.67 kB / 0.7325 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1998, allocations: 322.7 kB / 0.7328 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1999, allocations: 55.97 kB / 0.7328 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.2001, allocations: 96.25 kB / 0.7329 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.2003, allocations: 163.5 kB / 0.7331 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2003, allocations: 0 / 0.7331 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000453/0.2008, allocations: 269.2 kB / 0.7333 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.56e-05/0.2008, allocations: 67.41 kB / 0.7334 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.2008, allocations: 4.125 kB / 0.7334 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.2009, allocations: 3.984 kB / 0.7334 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.59e-05/0.2009, allocations: 4 kB / 0.7334 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.2009, allocations: 3.938 kB / 0.7334 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.2012, allocations: 51.89 kB / 0.7335 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.2013, allocations: 19.98 kB / 0.7335 GB, free: 11.8 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.0001282/0.2014, allocations: 125.8 kB / 0.7336 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.2014, allocations: 4 kB / 0.7336 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.2015, allocations: 8.375 kB / 0.7336 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2015, allocations: 0 / 0.7336 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2015, allocations: 0 / 0.7336 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2015, allocations: 0 / 0.7336 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.2016, allocations: 152.6 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2016, allocations: 0 / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.151e-05/0.2016, allocations: 4 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.2016, allocations: 0 / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.2017, allocations: 4 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.2017, allocations: 4.062 kB / 0.7338 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2017, allocations: 0 / 0.7338 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.2018, allocations: 120.9 kB / 0.7339 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.2018, allocations: 7.953 kB / 0.7339 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.2019, allocations: 3.984 kB / 0.7339 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.91e-05/0.2019, allocations: 0 / 0.7339 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.2019, allocations: 11.98 kB / 0.7339 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.2019, allocations: 8 kB / 0.7339 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.292e-05/0.202, allocations: 87.28 kB / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.202, allocations: 0 / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002405/0.2022, allocations: 31.98 kB / 0.734 GB, free: 11.17 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.0005014/0.2027, allocations: 0.6514 MB / 0.7347 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003795/0.2031, allocations: 219 kB / 0.7349 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2031, allocations: 4 kB / 0.7349 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.569e-05/0.2031, allocations: 23.92 kB / 0.7349 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.2034, allocations: 22.73 kB / 0.7349 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.2055, allocations: 1.716 MB / 0.7366 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.2059, allocations: 0.6885 MB / 0.7373 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.2059, allocations: 8 kB / 0.7373 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.2059, allocations: 19.44 kB / 0.7373 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.2059, allocations: 0 / 0.7373 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/0.2366, allocations: 3.024 MB / 0.7402 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.98, allocations: 11.5 kB / 0.7403 GB, free: 4.746 MB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 14.833863417152315] Failed to read output from testmodel.py, exit status != 0: 11.107784698018804 11.140485312 10.937829122 Calling exit ...