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.0007918/0.0007918, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001183/0.001975, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001042/0.001042, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.002545, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.001/1.001, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1011/1.102, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.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.7701/0.7701, allocations: 154.6 MB / 398.8 MB, free: 380 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2908/1.061, allocations: 49.04 MB / 447.8 MB, free: 6.605 MB / 426.7 MB " [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.903e-06/1.903e-06, allocations: 0 / 449.2 MB, free: 5.289 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.555e-05, allocations: 6.844 kB / 449.2 MB, free: 5.285 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001992/0.002017, allocations: 0.6917 MB / 449.8 MB, free: 4.633 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.003609, allocations: 1.244 MB / 451.1 MB, free: 3.379 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.003652, allocations: 0 / 451.1 MB, free: 3.379 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.003678, allocations: 4.812 kB / 451.1 MB, free: 3.375 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.641e-05/0.003734, allocations: 7.609 kB / 451.1 MB, free: 3.371 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000544/0.004278, allocations: 210.3 kB / 451.3 MB, free: 3.168 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.004555, allocations: 173.2 kB / 451.5 MB, free: 3.012 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.03e-05/0.004645, allocations: 6.062 kB / 451.5 MB, free: 3.008 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.004831, allocations: 99.31 kB / 451.6 MB, free: 2.914 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.004982, allocations: 52.88 kB / 451.6 MB, free: 2.863 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.201e-05/0.005024, allocations: 16.66 kB / 451.7 MB, free: 2.848 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.005135, allocations: 24.75 kB / 451.7 MB, free: 2.824 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.005166, allocations: 5.859 kB / 451.7 MB, free: 2.82 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.005233, allocations: 41.03 kB / 451.7 MB, free: 2.785 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.00544, allocations: 103.3 kB / 451.8 MB, free: 2.688 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-05/0.005455, allocations: 0 / 451.8 MB, free: 2.688 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005456, allocations: 0 / 451.8 MB, free: 2.688 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.005471, allocations: 0 / 451.8 MB, free: 2.688 MB / 426.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.0005386/0.00601, allocations: 349.9 kB / 452.2 MB, free: 2.309 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.006048, allocations: 12.58 kB / 452.2 MB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.006116, allocations: 12.92 kB / 452.2 MB, free: 2.285 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.006233, allocations: 125.6 kB / 452.3 MB, free: 2.137 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.006253, allocations: 5.281 kB / 452.3 MB, free: 2.133 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.006284, allocations: 8.375 kB / 452.3 MB, free: 2.125 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.749e-05/0.006371, allocations: 52.02 kB / 452.4 MB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.00638, allocations: 192 / 452.4 MB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.006388, allocations: 384 / 452.4 MB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.006395, allocations: 1.547 kB / 452.4 MB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.38e-05/0.006418, allocations: 15.92 kB / 452.4 MB, free: 2.055 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.006739, allocations: 173.1 kB / 452.6 MB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.676e-05/0.006816, allocations: 30.56 kB / 452.6 MB, free: 1.832 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.006833, allocations: 10.14 kB / 452.6 MB, free: 1.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.006839, allocations: 0 / 452.6 MB, free: 1.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.006967, allocations: 83.45 kB / 452.7 MB, free: 1.727 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.006968, allocations: 0.6875 kB / 452.7 MB, free: 1.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001608/0.007129, allocations: 82.83 kB / 452.8 MB, free: 1.641 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.007164, allocations: 51.41 kB / 452.8 MB, free: 1.578 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.938e-05/0.007253, allocations: 126.6 kB / 452.9 MB, free: 1.441 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.007281, allocations: 29.7 kB / 453 MB, free: 1.406 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.007335, allocations: 88.78 kB / 453.1 MB, free: 1.316 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.007356, allocations: 19.89 kB / 453.1 MB, free: 1.297 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.662e-05/0.007442, allocations: 46.88 kB / 453.1 MB, free: 1.246 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.007538, allocations: 314.8 kB / 453.4 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.007649, allocations: 99.38 kB / 453.5 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.007768, allocations: 141.7 kB / 453.7 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.007917, allocations: 144.7 kB / 453.8 MB, free: 500 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.00792, allocations: 0.7188 kB / 453.8 MB, free: 500 kB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003235/0.008243, allocations: 267.1 kB / 454.1 MB, free: 204 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.477e-05/0.008318, allocations: 67.39 kB / 454.1 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.008328, allocations: 3.938 kB / 454.1 MB, free: 120 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.008348, allocations: 5.469 kB / 454.1 MB, free: 116 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.686e-05/0.008375, allocations: 0 / 454.1 MB, free: 116 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.008381, allocations: 4 kB / 454.1 MB, free: 112 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.008606, allocations: 40.59 kB / 454.2 MB, free: 72 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.008636, allocations: 17.19 kB / 454.2 MB, free: 56 kB / 426.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 0.0001193/0.008756, allocations: 123.9 kB / 454.3 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.008773, allocations: 8.625 kB / 454.3 MB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.008804, allocations: 8.375 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.008809, allocations: 4.688 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.008811, allocations: 1.219 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.008818, allocations: 7.922 kB / 454.4 MB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.00892, allocations: 77.83 kB / 454.4 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.008922, allocations: 0 / 454.4 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.461e-05/0.008937, allocations: 8.641 kB / 454.4 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.322e-05/0.00895, allocations: 6.047 kB / 454.4 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.008954, allocations: 0 / 454.4 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.00896, allocations: 4.656 kB / 454.4 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.008964, allocations: 3.938 kB / 454.5 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.008966, allocations: 0.625 kB / 454.5 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.009086, allocations: 81.61 kB / 454.5 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.009101, allocations: 0 / 454.5 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.611e-05/0.009127, allocations: 4.531 kB / 454.5 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.009166, allocations: 16.56 kB / 454.6 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.009173, allocations: 0 / 454.6 MB, free: 15.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.29e-05/0.009196, allocations: 17.75 kB / 454.6 MB, free: 15.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009196, allocations: 0 / 454.6 MB, free: 15.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002042/0.0094, allocations: 32 kB / 454.6 MB, free: 15.62 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.0001336/0.009534, allocations: 82.06 kB / 454.7 MB, free: 15.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.009804, allocations: 267.8 kB / 454.9 MB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.00981, allocations: 4 kB / 454.9 MB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.219e-05/0.009842, allocations: 17.86 kB / 455 MB, free: 15.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.01004, allocations: 132.5 kB / 455.1 MB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.01057, allocations: 150.8 kB / 455.2 MB, free: 14.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.965e-05/0.01061, allocations: 55.36 kB / 455.3 MB, free: 14.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.386e-05/0.01065, allocations: 7.984 kB / 455.3 MB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.01079, allocations: 79.91 kB / 455.4 MB, free: 14.72 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01079, allocations: 0 / 455.4 MB, free: 14.72 MB / 442.7 MB Notification: Performance of Templates: time 0.005571/0.01636, allocations: 2.245 MB / 457.6 MB, free: 12.63 MB / 442.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.6414302000775933]