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.00128/0.00128, allocations: 97.11 kB / 19.74 MB, free: 1.871 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.001516/0.001516, allocations: 208.6 kB / 23.04 MB, free: 5.008 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.727 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.9839/0.9839, allocations: 150 MB / 463.2 MB, free: 10.17 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.002041/0.002041, allocations: 67.11 kB / 0.6413 GB, free: 9.812 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1959, allocations: 89.18 MB / 0.7284 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002215/0.1981, allocations: 0.628 MB / 0.729 GB, free: 84 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.1998, allocations: 1.202 MB / 0.7302 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.581e-05/0.1999, allocations: 4 kB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.1999, allocations: 3.938 kB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.171e-05/0.2, allocations: 15.86 kB / 0.7302 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.2007, allocations: 215.8 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.201, allocations: 179.7 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.2011, allocations: 11.98 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.2012, allocations: 67.89 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.2013, allocations: 51.84 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.2014, allocations: 16 kB / 0.7307 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.393e-05/0.2014, allocations: 31.92 kB / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.2015, allocations: 7.984 kB / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.727e-05/0.2016, allocations: 59.83 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.2018, allocations: 143.9 kB / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2018, allocations: 0 / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.661e-06/0.2018, allocations: 8 kB / 0.7309 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.2018, allocations: 0 / 0.7309 GB, free: 14.08 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.0005725/0.2024, allocations: 361.5 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2024, allocations: 8.031 kB / 0.7313 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.265e-05/0.2025, allocations: 34.75 kB / 0.7313 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.2025, allocations: 8.938 kB / 0.7313 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.2026, allocations: 110.5 kB / 0.7314 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.2026, allocations: 16.36 kB / 0.7315 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.2027, allocations: 8.375 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.2028, allocations: 50.19 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2028, allocations: 3.938 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.2028, allocations: 4 kB / 0.7315 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.2028, allocations: 11.88 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.844e-05/0.2029, allocations: 19.98 kB / 0.7315 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.2034, allocations: 287.9 kB / 0.7318 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.056e-05/0.2034, allocations: 34.5 kB / 0.7319 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.2035, allocations: 16.86 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.2035, allocations: 0 / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.2037, allocations: 79.42 kB / 0.7319 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.2037, allocations: 0 / 0.7319 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002597/0.2039, allocations: 113.5 kB / 0.7321 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.204, allocations: 59.39 kB / 0.7321 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.2041, allocations: 117.8 kB / 0.7322 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.2041, allocations: 29.7 kB / 0.7322 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.2042, allocations: 88.14 kB / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.2042, allocations: 19.89 kB / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.2043, allocations: 45.69 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2045, allocations: 322.8 kB / 0.7327 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.2046, allocations: 119.4 kB / 0.7328 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.2048, allocations: 151.7 kB / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.205, allocations: 163.5 kB / 0.7331 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.205, allocations: 4 kB / 0.7331 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005117/0.2055, allocations: 328.7 kB / 0.7334 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.357e-05/0.2056, allocations: 67.39 kB / 0.7335 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2056, allocations: 4 kB / 0.7335 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.2056, allocations: 3.984 kB / 0.7335 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.422e-05/0.2057, allocations: 12.11 kB / 0.7335 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.2057, allocations: 0 / 0.7335 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.206, allocations: 51.89 kB / 0.7336 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.206, allocations: 15.98 kB / 0.7336 GB, free: 11.05 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.0001241/0.2062, allocations: 125.8 kB / 0.7337 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.2062, allocations: 0 / 0.7337 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.2062, allocations: 12.31 kB / 0.7337 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2062, allocations: 4 kB / 0.7337 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2062, allocations: 0 / 0.7337 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2062, allocations: 0 / 0.7337 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.2064, allocations: 156.6 kB / 0.7339 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2064, allocations: 3.938 kB / 0.7339 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.376e-05/0.2064, allocations: 4 kB / 0.7339 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2064, allocations: 0 / 0.7339 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.2064, allocations: 0 / 0.7339 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2064, allocations: 64 / 0.7339 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.2064, allocations: 4 kB / 0.7339 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.2066, allocations: 113 kB / 0.734 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.2066, allocations: 11.95 kB / 0.734 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.2066, allocations: 3.984 kB / 0.734 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.151e-05/0.2066, allocations: 4 kB / 0.734 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.2067, allocations: 11.92 kB / 0.734 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.2067, allocations: 4 kB / 0.734 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.655e-05/0.2067, allocations: 87.28 kB / 0.7341 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2067, allocations: 0 / 0.7341 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002426/0.207, allocations: 31.98 kB / 0.7341 GB, free: 10.41 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.0005409/0.2075, allocations: 0.6475 MB / 0.7348 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003977/0.2079, allocations: 282.4 kB / 0.735 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2079, allocations: 0 / 0.735 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.304e-05/0.208, allocations: 24.41 kB / 0.7351 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.2082, allocations: 24.06 kB / 0.7351 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.2106, allocations: 1.958 MB / 0.737 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.001e-05/0.2106, allocations: 75.58 kB / 0.7371 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.871e-05/0.2107, allocations: 4 kB / 0.7371 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.2107, allocations: 23.42 kB / 0.7371 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.2107, allocations: 0 / 0.7371 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.2425, allocations: 3.632 MB / 0.7406 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.09, allocations: 5.469 kB / 0.7406 GB, free: 3.672 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: 15.010917171137407] Failed to read output from testmodel.py, exit status != 0: 11.198017456103116 11.213969083 11.008936308 Calling exit ...