Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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: 114.3 kB / 18.94 MB, free: 2.934 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.002596/0.002596, allocations: 216.1 kB / 22.25 MB, free: 5.082 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.06391/0.06391, allocations: 12.18 MB / 324.6 MB, free: 7.281 MB / 254.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0008758/0.0008758, allocations: 34.75 kB / 384.1 MB, free: 46.63 MB / 302.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.486/2.486, allocations: 353.8 MB / 0.7787 GB, free: 1.027 MB / 0.5138 GB " [Timeout remaining time 177] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.003541/0.003541, allocations: 127.6 kB / 1.061 GB, free: 13.06 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2512, allocations: 134.9 MB / 1.192 GB, free: 6.234 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001783/0.253, allocations: 0.6449 MB / 1.193 GB, free: 5.59 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.2546, allocations: 1.243 MB / 1.194 GB, free: 4.336 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.2546, allocations: 0 / 1.194 GB, free: 4.336 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.2546, allocations: 0 / 1.194 GB, free: 4.336 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.36e-05/0.2547, allocations: 19.84 kB / 1.194 GB, free: 4.316 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006524/0.2554, allocations: 222 kB / 1.194 GB, free: 4.105 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.2556, allocations: 171.7 kB / 1.194 GB, free: 3.938 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 7.162e-05/0.2557, allocations: 0 / 1.194 GB, free: 3.938 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.2558, allocations: 75.88 kB / 1.195 GB, free: 3.863 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.2559, allocations: 67.78 kB / 1.195 GB, free: 3.797 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.256, allocations: 12 kB / 1.195 GB, free: 3.785 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-05/0.256, allocations: 31.98 kB / 1.195 GB, free: 3.754 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.2561, allocations: 8 kB / 1.195 GB, free: 3.746 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 8.966e-05/0.2561, allocations: 63.81 kB / 1.195 GB, free: 3.684 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.2564, allocations: 143.6 kB / 1.195 GB, free: 3.543 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2564, allocations: 0 / 1.195 GB, free: 3.543 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2564, allocations: 3.938 kB / 1.195 GB, free: 3.539 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2564, allocations: 0 / 1.195 GB, free: 3.539 MB / 0.8263 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.0005241/0.2569, allocations: 361.5 kB / 1.195 GB, free: 3.141 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2569, allocations: 15.92 kB / 1.195 GB, free: 3.125 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.257, allocations: 12.89 kB / 1.195 GB, free: 3.113 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.2571, allocations: 126.5 kB / 1.195 GB, free: 2.965 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.2571, allocations: 8.312 kB / 1.195 GB, free: 2.957 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.2572, allocations: 8.375 kB / 1.195 GB, free: 2.949 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.2573, allocations: 54.25 kB / 1.195 GB, free: 2.891 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2573, allocations: 4.172 kB / 1.195 GB, free: 2.887 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.2573, allocations: 3.938 kB / 1.195 GB, free: 2.883 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.2573, allocations: 0 / 1.195 GB, free: 2.883 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.939e-05/0.2573, allocations: 12 kB / 1.195 GB, free: 2.871 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.2578, allocations: 319.9 kB / 1.196 GB, free: 2.516 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 7.763e-05/0.2579, allocations: 42.44 kB / 1.196 GB, free: 2.465 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.813e-05/0.2579, allocations: 12.86 kB / 1.196 GB, free: 2.449 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-06/0.2579, allocations: 0 / 1.196 GB, free: 2.449 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.2581, allocations: 71.47 kB / 1.196 GB, free: 2.367 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2581, allocations: 0 / 1.196 GB, free: 2.367 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7): time 0.0002388/0.2583, allocations: 109.6 kB / 1.196 GB, free: 2.254 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.2584, allocations: 63.38 kB / 1.196 GB, free: 2.18 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.2585, allocations: 125.7 kB / 1.196 GB, free: 2.047 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.2585, allocations: 29.7 kB / 1.196 GB, free: 2.012 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.2586, allocations: 88.14 kB / 1.196 GB, free: 1.922 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.2586, allocations: 15.89 kB / 1.196 GB, free: 1.906 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.276e-05/0.2587, allocations: 49.69 kB / 1.196 GB, free: 1.852 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2589, allocations: 322.8 kB / 1.197 GB, free: 1.527 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.259, allocations: 59.95 kB / 1.197 GB, free: 1.469 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.2591, allocations: 95.27 kB / 1.197 GB, free: 1.363 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.2594, allocations: 163.6 kB / 1.197 GB, free: 1.176 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2594, allocations: 4 kB / 1.197 GB, free: 1.172 MB / 0.8263 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004423/0.2598, allocations: 264.8 kB / 1.197 GB, free: 0.8945 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.243e-05/0.2599, allocations: 72.8 kB / 1.197 GB, free: 0.8125 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2599, allocations: 0 / 1.197 GB, free: 0.8125 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2599, allocations: 3.984 kB / 1.197 GB, free: 0.8086 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.915e-05/0.2599, allocations: 4 kB / 1.197 GB, free: 0.8047 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2599, allocations: 0 / 1.197 GB, free: 0.8047 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.2602, allocations: 52.06 kB / 1.197 GB, free: 0.7539 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.2603, allocations: 23.92 kB / 1.197 GB, free: 0.7305 MB / 0.8263 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.0001183/0.2604, allocations: 125.7 kB / 1.197 GB, free: 0.5977 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.2604, allocations: 3.953 kB / 1.197 GB, free: 0.5938 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.2604, allocations: 12.38 kB / 1.198 GB, free: 0.5781 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2605, allocations: 0 / 1.198 GB, free: 0.5781 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2605, allocations: 0 / 1.198 GB, free: 0.5781 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2605, allocations: 7.984 kB / 1.198 GB, free: 0.5703 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.2606, allocations: 152.6 kB / 1.198 GB, free: 388 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2606, allocations: 0 / 1.198 GB, free: 388 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.2606, allocations: 4 kB / 1.198 GB, free: 384 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.2606, allocations: 0 / 1.198 GB, free: 384 kB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.2606, allocations: 0 / 1.198 GB, free: 384 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.2606, allocations: 8.047 kB / 1.198 GB, free: 376 kB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2606, allocations: 0 / 1.198 GB, free: 376 kB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.2608, allocations: 117 kB / 1.198 GB, free: 240 kB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.2608, allocations: 11.94 kB / 1.198 GB, free: 228 kB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.2608, allocations: 0 / 1.198 GB, free: 228 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.201e-05/0.2608, allocations: 4 kB / 1.198 GB, free: 224 kB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.2609, allocations: 7.984 kB / 1.198 GB, free: 216 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.2609, allocations: 0 / 1.198 GB, free: 216 kB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.373e-05/0.2609, allocations: 95.2 kB / 1.198 GB, free: 120 kB / 0.8263 GB Notification: Performance of sort global known variables: time 8e-08/0.2609, allocations: 0 / 1.198 GB, free: 120 kB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002346/0.2612, allocations: 32 kB / 1.198 GB, free: 88 kB / 0.8263 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.0001489/0.2613, allocations: 99.25 kB / 1.198 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003435/0.2617, allocations: 218.6 kB / 1.198 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2617, allocations: 0 / 1.198 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.868e-05/0.2617, allocations: 31.91 kB / 1.198 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.2619, allocations: 17.73 kB / 1.198 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.2623, allocations: 155 kB / 1.198 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.2626, allocations: 0.6852 MB / 1.199 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.515e-05/0.2626, allocations: 7.984 kB / 1.199 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.203e-05/0.2626, allocations: 11.44 kB / 1.199 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.2626, allocations: 0 / 1.199 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of Templates: time 0.004754/0.2674, allocations: 1.866 MB / 1.201 GB, free: 12.96 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.08764997124672] Failed to read output from testmodel.py, exit status != 0: 0.2756655402481556 0.29018656600000003 0.030725881000000003 Calling exit ...