Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001018/0.001018, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001017/0.001017, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 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.063/1.063, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8192/0.8192, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.843e-05, allocations: 6.969 kB / 480.4 MB, free: 6.516 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002461/0.002489, allocations: 0.6818 MB / 481.1 MB, free: 5.871 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.00434, allocations: 1.249 MB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.004393, allocations: 0 / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.559e-05/0.004428, allocations: 5.094 kB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.961e-05/0.004528, allocations: 20.08 kB / 482.4 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.005248, allocations: 210.4 kB / 482.6 MB, free: 4.395 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.005546, allocations: 173.6 kB / 482.7 MB, free: 4.238 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.005638, allocations: 6.312 kB / 482.7 MB, free: 4.234 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.005847, allocations: 94.66 kB / 482.8 MB, free: 4.145 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.006004, allocations: 60.66 kB / 482.9 MB, free: 4.086 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/0.006043, allocations: 16 kB / 482.9 MB, free: 4.07 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.006151, allocations: 31.92 kB / 482.9 MB, free: 4.039 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.006172, allocations: 7.984 kB / 483 MB, free: 4.031 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.015e-05/0.006243, allocations: 52.8 kB / 483 MB, free: 3.98 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.006458, allocations: 131.7 kB / 483.1 MB, free: 3.852 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.006461, allocations: 0.875 kB / 483.1 MB, free: 3.852 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.006464, allocations: 4 kB / 483.1 MB, free: 3.848 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.006468, allocations: 1.062 kB / 483.1 MB, free: 3.848 MB / 442.7 MB 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.0005206/0.006988, allocations: 331.3 kB / 483.5 MB, free: 3.488 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.007029, allocations: 8.031 kB / 483.5 MB, free: 3.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.007082, allocations: 13.55 kB / 483.5 MB, free: 3.469 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.502e-05/0.007177, allocations: 109.8 kB / 483.6 MB, free: 3.336 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.007196, allocations: 9 kB / 483.6 MB, free: 3.328 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.007222, allocations: 9.562 kB / 483.6 MB, free: 3.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.231e-05/0.007305, allocations: 46.17 kB / 483.7 MB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.007313, allocations: 0.8125 kB / 483.7 MB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.007321, allocations: 8.312 kB / 483.7 MB, free: 3.262 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.007328, allocations: 1.516 kB / 483.7 MB, free: 3.262 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.647e-05/0.007354, allocations: 16.55 kB / 483.7 MB, free: 3.246 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.007694, allocations: 180.2 kB / 483.9 MB, free: 3.055 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.123e-05/0.007765, allocations: 31.28 kB / 483.9 MB, free: 3.016 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.945e-05/0.007785, allocations: 10.42 kB / 483.9 MB, free: 3.004 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.303e-06/0.007792, allocations: 4.875 kB / 483.9 MB, free: 3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.007914, allocations: 75.39 kB / 484 MB, free: 2.914 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.007916, allocations: 1.062 kB / 484 MB, free: 2.914 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.000176/0.008092, allocations: 77.55 kB / 484.1 MB, free: 2.832 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.008131, allocations: 55.41 kB / 484.1 MB, free: 2.766 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.008225, allocations: 123.6 kB / 484.2 MB, free: 2.633 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.008255, allocations: 29.7 kB / 484.3 MB, free: 2.598 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.008313, allocations: 88.98 kB / 484.3 MB, free: 2.508 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.008331, allocations: 15.89 kB / 484.4 MB, free: 2.492 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.28e-05/0.008424, allocations: 45.66 kB / 484.4 MB, free: 2.441 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.008537, allocations: 319.5 kB / 484.7 MB, free: 2.121 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.008662, allocations: 96.69 kB / 484.8 MB, free: 2.016 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.008787, allocations: 131.7 kB / 484.9 MB, free: 1.859 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.009079, allocations: 145.3 kB / 485.1 MB, free: 1.691 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.009083, allocations: 0 / 485.1 MB, free: 1.691 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003021/0.009385, allocations: 257.4 kB / 485.3 MB, free: 1.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/0.009442, allocations: 67.39 kB / 485.4 MB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.00945, allocations: 4.875 kB / 485.4 MB, free: 1.328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.009466, allocations: 4 kB / 485.4 MB, free: 1.324 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.372e-05/0.00949, allocations: 3.984 kB / 485.4 MB, free: 1.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.009495, allocations: 5.438 kB / 485.4 MB, free: 1.316 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.009724, allocations: 44.64 kB / 485.5 MB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.009756, allocations: 11.98 kB / 485.5 MB, free: 1.262 MB / 442.7 MB 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 9.387e-05/0.00985, allocations: 124.5 kB / 485.6 MB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.00987, allocations: 9.703 kB / 485.6 MB, free: 1.125 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.0099, allocations: 13.78 kB / 485.6 MB, free: 1.113 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.009903, allocations: 0 / 485.6 MB, free: 1.113 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.009905, allocations: 4 kB / 485.6 MB, free: 1.109 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.00991, allocations: 0 / 485.6 MB, free: 1.109 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.429e-05/0.01, allocations: 74.66 kB / 485.7 MB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01001, allocations: 3.938 kB / 485.7 MB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.398e-05/0.01002, allocations: 4.656 kB / 485.7 MB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.01002, allocations: 0 / 485.7 MB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.01003, allocations: 0.5938 kB / 485.7 MB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01003, allocations: 1.438 kB / 485.7 MB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.01003, allocations: 7.922 kB / 485.7 MB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.01015, allocations: 93.33 kB / 485.8 MB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.01016, allocations: 7.953 kB / 485.8 MB, free: 0.8867 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.01017, allocations: 5 kB / 485.8 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.214e-05/0.0102, allocations: 0 / 485.8 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.01023, allocations: 11.92 kB / 485.8 MB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.01024, allocations: 5.031 kB / 485.8 MB, free: 0.8672 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.584e-05/0.01027, allocations: 21.3 kB / 485.9 MB, free: 0.8438 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01027, allocations: 0 / 485.9 MB, free: 0.8438 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.01051, allocations: 28.84 kB / 485.9 MB, free: 0.8164 MB / 442.7 MB 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.0001398/0.01065, allocations: 81.02 kB / 486 MB, free: 0.7305 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.01093, allocations: 253.3 kB / 486.2 MB, free: 456 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.01093, allocations: 0 / 486.2 MB, free: 456 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.863e-05/0.01097, allocations: 28.78 kB / 486.2 MB, free: 424 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.01114, allocations: 24.08 kB / 486.3 MB, free: 404 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.01145, allocations: 149.8 kB / 486.4 MB, free: 224 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.634e-05/0.01149, allocations: 55.36 kB / 486.5 MB, free: 148 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.394e-05/0.01152, allocations: 13.56 kB / 486.5 MB, free: 140 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.01167, allocations: 75.34 kB / 486.5 MB, free: 64 kB / 442.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01167, allocations: 0 / 486.5 MB, free: 64 kB / 442.7 MB Notification: Performance of Templates: time 0.006197/0.01786, allocations: 2.212 MB / 488.8 MB, free: 14.01 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.654071031138301]