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.001347/0.001347, allocations: 109.1 kB / 17.12 MB, free: 5.926 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.001463/0.001463, allocations: 205 kB / 20.09 MB, free: 2.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.586/1.586, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.026/1.026, allocations: 149.9 MB / 459.5 MB, free: 5.246 MB / 350.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: translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand") [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.001965/0.001965, allocations: 64.69 kB / 0.6366 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2247, allocations: 89.14 MB / 0.7236 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002048/0.2267, allocations: 0.637 MB / 0.7243 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001724/0.2284, allocations: 1.223 MB / 0.7254 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.843e-05/0.2285, allocations: 4 kB / 0.7255 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.2285, allocations: 3.938 kB / 0.7255 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.909e-05/0.2286, allocations: 15.84 kB / 0.7255 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006776/0.2293, allocations: 209.3 kB / 0.7257 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.2295, allocations: 179.7 kB / 0.7258 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2296, allocations: 11.97 kB / 0.7259 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.2297, allocations: 67.89 kB / 0.7259 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.2299, allocations: 59.84 kB / 0.726 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.2299, allocations: 16 kB / 0.726 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.191e-05/0.23, allocations: 31.92 kB / 0.726 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.73e-05/0.23, allocations: 15.92 kB / 0.726 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.082e-05/0.2301, allocations: 51.89 kB / 0.7261 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.2303, allocations: 155.5 kB / 0.7262 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2303, allocations: 0 / 0.7262 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2303, allocations: 0 / 0.7262 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.2303, allocations: 8 kB / 0.7262 GB, free: 0.8555 MB / 0.5294 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.0006443/0.231, allocations: 438.5 kB / 0.7267 GB, free: 372 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.231, allocations: 8.031 kB / 0.7267 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.2311, allocations: 8.938 kB / 0.7267 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.2312, allocations: 172.3 kB / 0.7268 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.2313, allocations: 4.375 kB / 0.7268 GB, free: 140 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.2313, allocations: 8.375 kB / 0.7269 GB, free: 132 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.2314, allocations: 58.17 kB / 0.7269 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2314, allocations: 192 / 0.7269 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2315, allocations: 7.938 kB / 0.7269 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.2315, allocations: 0 / 0.7269 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.282e-05/0.2315, allocations: 12 kB / 0.7269 GB, free: 48 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.232, allocations: 348.8 kB / 0.7273 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.548e-05/0.2321, allocations: 42.44 kB / 0.7273 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.97e-05/0.2322, allocations: 12.86 kB / 0.7273 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.2322, allocations: 0 / 0.7273 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.2324, allocations: 83.45 kB / 0.7274 GB, free: 15.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.2324, allocations: 0 / 0.7274 GB, free: 15.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002952/0.2327, allocations: 109.5 kB / 0.7275 GB, free: 15.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.2327, allocations: 51.41 kB / 0.7275 GB, free: 15.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2328, allocations: 117.8 kB / 0.7277 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.2328, allocations: 29.7 kB / 0.7277 GB, free: 15.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.067e-05/0.2329, allocations: 100.1 kB / 0.7278 GB, free: 15.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.2329, allocations: 15.84 kB / 0.7278 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-05/0.233, allocations: 49.69 kB / 0.7278 GB, free: 14.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2332, allocations: 322.8 kB / 0.7282 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.2333, allocations: 59.95 kB / 0.7282 GB, free: 14.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.2335, allocations: 92.64 kB / 0.7283 GB, free: 14.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.2337, allocations: 163.6 kB / 0.7285 GB, free: 14.31 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.2337, allocations: 7.938 kB / 0.7285 GB, free: 14.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004472/0.2342, allocations: 264.8 kB / 0.7287 GB, free: 14.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.141e-05/0.2342, allocations: 67.39 kB / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2342, allocations: 8.125 kB / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.2343, allocations: 0 / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.438e-05/0.2343, allocations: 4 kB / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2343, allocations: 0 / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.2346, allocations: 55.89 kB / 0.7288 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.2347, allocations: 11.98 kB / 0.7289 GB, free: 13.87 MB / 0.545 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.0001174/0.2348, allocations: 129.8 kB / 0.729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.2348, allocations: 0 / 0.729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.2348, allocations: 20.34 kB / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2348, allocations: 3.938 kB / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2348, allocations: 0 / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2348, allocations: 0 / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.235, allocations: 185.5 kB / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.235, allocations: 0 / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-06/0.235, allocations: 0 / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.235, allocations: 4 kB / 0.7292 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.235, allocations: 7.984 kB / 0.7292 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.235, allocations: 0 / 0.7292 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.235, allocations: 0 / 0.7292 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.2352, allocations: 109 kB / 0.7293 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.2352, allocations: 81.06 kB / 0.7294 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.2353, allocations: 4 kB / 0.7294 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.041e-05/0.2353, allocations: 4 kB / 0.7294 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.2353, allocations: 7.984 kB / 0.7294 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.2353, allocations: 7.938 kB / 0.7294 GB, free: 13.22 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.732e-05/0.2354, allocations: 95.2 kB / 0.7295 GB, free: 13.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2354, allocations: 0 / 0.7295 GB, free: 13.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002314/0.2356, allocations: 35.94 kB / 0.7295 GB, free: 13.09 MB / 0.545 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.0001817/0.2358, allocations: 97.75 kB / 0.7296 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003519/0.2361, allocations: 226.6 kB / 0.7298 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2361, allocations: 256 / 0.7298 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.63e-05/0.2362, allocations: 23.98 kB / 0.7298 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.2364, allocations: 17.86 kB / 0.7299 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.2368, allocations: 155.1 kB / 0.73 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.2372, allocations: 0.6885 MB / 0.7307 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.464e-05/0.2372, allocations: 4 kB / 0.7307 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.2372, allocations: 15.44 kB / 0.7307 GB, free: 11.79 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.2372, allocations: 0 / 0.7307 GB, free: 11.79 MB / 0.545 GB Notification: Performance of Templates: time 0.004883/0.2421, allocations: 1.847 MB / 0.7325 GB, free: 9.965 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.331342143937945] Failed to read output from testmodel.py, exit status != 0: 0.2500465428456664 0.26533423199999995 0.032139312 Calling exit ...