Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001003/0.001003, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001211/0.001211, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9909/0.9909, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8042/0.8042, allocations: 154.6 MB / 414.8 MB, free: 488 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.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(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 480 MB, free: 6.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.415e-05, allocations: 2.312 kB / 480 MB, free: 6.848 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001181/0.001196, allocations: 0.6532 MB / 480.7 MB, free: 6.223 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.00243, allocations: 1.241 MB / 481.9 MB, free: 4.973 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.002464, allocations: 4 kB / 481.9 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.002484, allocations: 5.719 kB / 481.9 MB, free: 4.965 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.002551, allocations: 7.594 kB / 481.9 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.002994, allocations: 213.9 kB / 482.1 MB, free: 4.754 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.003167, allocations: 174.3 kB / 482.3 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.963e-05/0.003227, allocations: 8.625 kB / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.979e-05/0.003327, allocations: 94.11 kB / 482.4 MB, free: 4.5 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.235e-05/0.003419, allocations: 53.48 kB / 482.4 MB, free: 4.449 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.003444, allocations: 16.66 kB / 482.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.946e-05/0.003504, allocations: 33.91 kB / 482.5 MB, free: 4.402 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.003523, allocations: 7.938 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.003573, allocations: 55.94 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.003714, allocations: 135.6 kB / 482.7 MB, free: 4.207 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.003716, allocations: 1.062 kB / 482.7 MB, free: 4.207 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.003716, allocations: 0 / 482.7 MB, free: 4.207 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.00372, allocations: 1.156 kB / 482.7 MB, free: 4.207 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.0003143/0.004034, allocations: 323.3 kB / 483 MB, free: 3.855 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.004062, allocations: 12.03 kB / 483 MB, free: 3.844 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.004095, allocations: 17.64 kB / 483 MB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.024e-05/0.004165, allocations: 117.7 kB / 483.2 MB, free: 3.688 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.004176, allocations: 5.781 kB / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.004197, allocations: 9.031 kB / 483.2 MB, free: 3.676 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.535e-05/0.004252, allocations: 46.23 kB / 483.2 MB, free: 3.625 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.004258, allocations: 192 / 483.2 MB, free: 3.625 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.004264, allocations: 1.031 kB / 483.2 MB, free: 3.625 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.004268, allocations: 384 / 483.2 MB, free: 3.625 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.479e-05/0.004283, allocations: 18.91 kB / 483.2 MB, free: 3.609 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.004492, allocations: 176.2 kB / 483.4 MB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.823e-05/0.00454, allocations: 30.55 kB / 483.4 MB, free: 3.383 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.086e-05/0.004551, allocations: 9.641 kB / 483.4 MB, free: 3.371 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-06/0.004555, allocations: 0 / 483.4 MB, free: 3.371 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.556e-05/0.004631, allocations: 80.53 kB / 483.5 MB, free: 3.281 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.004632, allocations: 0 / 483.5 MB, free: 3.281 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001157/0.004748, allocations: 77.53 kB / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.004776, allocations: 55.97 kB / 483.7 MB, free: 3.133 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.711e-05/0.004843, allocations: 126.1 kB / 483.8 MB, free: 3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.004863, allocations: 29.7 kB / 483.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.004901, allocations: 96.08 kB / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.999e-06/0.004911, allocations: 11.94 kB / 483.9 MB, free: 2.855 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.004967, allocations: 49.66 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.223e-05/0.005059, allocations: 314.8 kB / 484.3 MB, free: 2.484 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/0.005133, allocations: 95.38 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.222e-05/0.005215, allocations: 138.1 kB / 484.5 MB, free: 2.219 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.307e-05/0.005308, allocations: 145.5 kB / 484.6 MB, free: 2.051 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.00531, allocations: 0 / 484.6 MB, free: 2.051 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001772/0.005487, allocations: 253 kB / 484.9 MB, free: 1.773 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/0.005524, allocations: 68.02 kB / 484.9 MB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.005531, allocations: 7.938 kB / 485 MB, free: 1.688 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.005539, allocations: 0.625 kB / 485 MB, free: 1.688 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.569e-05/0.005555, allocations: 12.67 kB / 485 MB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.005557, allocations: 0 / 485 MB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.005699, allocations: 45.11 kB / 485 MB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.005719, allocations: 16.55 kB / 485 MB, free: 1.617 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 7.445e-05/0.005793, allocations: 114.8 kB / 485.1 MB, free: 1.496 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.005806, allocations: 14.42 kB / 485.2 MB, free: 1.484 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.005833, allocations: 14 kB / 485.2 MB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.005834, allocations: 0 / 485.2 MB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.005836, allocations: 0 / 485.2 MB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.00584, allocations: 0 / 485.2 MB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.681e-05/0.005916, allocations: 81.88 kB / 485.2 MB, free: 1.375 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.005918, allocations: 0.9062 kB / 485.2 MB, free: 1.375 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-06/0.005921, allocations: 0 / 485.2 MB, free: 1.375 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.005922, allocations: 1 kB / 485.3 MB, free: 1.375 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.005927, allocations: 0 / 485.3 MB, free: 1.375 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.005928, allocations: 0 / 485.3 MB, free: 1.375 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.005931, allocations: 8.469 kB / 485.3 MB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.155e-05/0.006002, allocations: 81.03 kB / 485.3 MB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.006013, allocations: 12.59 kB / 485.4 MB, free: 1.258 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.006023, allocations: 5.688 kB / 485.4 MB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.001e-05/0.006033, allocations: 0 / 485.4 MB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.006062, allocations: 15.86 kB / 485.4 MB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.006066, allocations: 0 / 485.4 MB, free: 1.238 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.483e-05/0.006081, allocations: 12.86 kB / 485.4 MB, free: 1.223 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006081, allocations: 1.594 kB / 485.4 MB, free: 1.223 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001367/0.006217, allocations: 35.98 kB / 485.4 MB, free: 1.188 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.0001068/0.006324, allocations: 81.72 kB / 485.5 MB, free: 1.105 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.006531, allocations: 263.3 kB / 485.8 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.006534, allocations: 0 / 485.8 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.779e-05/0.006561, allocations: 29.39 kB / 485.8 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.006667, allocations: 18.61 kB / 485.8 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/0.006876, allocations: 150.9 kB / 486 MB, free: 0.5859 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.654e-05/0.006903, allocations: 55.36 kB / 486 MB, free: 0.5117 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.746e-05/0.00692, allocations: 9.172 kB / 486 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.114e-05/0.007011, allocations: 75.34 kB / 486.1 MB, free: 440 kB / 442.7 MB Notification: Performance of SimCode: time 4.01e-07/0.007012, allocations: 0 / 486.1 MB, free: 440 kB / 442.7 MB Notification: Performance of Templates: time 0.00333/0.01034, allocations: 2.216 MB / 488.3 MB, free: 14.38 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5526495459489524]