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.0009434/0.0009434, allocations: 92.2 kB / 20.19 MB, free: 4.352 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.001248/0.001248, allocations: 169 kB / 23.49 MB, free: 1.047 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.027/1.027, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.7766/0.7766, allocations: 154.6 MB / 414.9 MB, free: 0.6758 MB / 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.853e-06/1.853e-06, allocations: 0.5469 kB / 0.5203 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.908e-05, allocations: 4.141 kB / 0.5203 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001086/0.001105, allocations: 0.64 MB / 0.521 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.002282, allocations: 1.233 MB / 0.5222 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.607e-05/0.002318, allocations: 4 kB / 0.5222 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.00234, allocations: 7.922 kB / 0.5222 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.419e-05/0.002394, allocations: 12.36 kB / 0.5222 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.0028, allocations: 209.6 kB / 0.5224 GB, free: 440 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.002952, allocations: 172.3 kB / 0.5226 GB, free: 268 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.073e-05/0.003013, allocations: 8 kB / 0.5226 GB, free: 260 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.288e-05/0.003106, allocations: 97.44 kB / 0.5227 GB, free: 164 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.904e-05/0.003185, allocations: 51.84 kB / 0.5227 GB, free: 112 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.003205, allocations: 19.94 kB / 0.5227 GB, free: 92 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.617e-05/0.003251, allocations: 24 kB / 0.5227 GB, free: 68 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.003268, allocations: 13.78 kB / 0.5228 GB, free: 56 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.003318, allocations: 47.91 kB / 0.5228 GB, free: 8 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.003467, allocations: 135.8 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003469, allocations: 0 / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003469, allocations: 3.844 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.003473, allocations: 1.75 kB / 0.5229 GB, free: 15.87 MB / 0.4948 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.0003277/0.0038, allocations: 459.9 kB / 0.5234 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.00383, allocations: 15.97 kB / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.00387, allocations: 12.89 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.023e-05/0.00394, allocations: 121.3 kB / 0.5235 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.003952, allocations: 8.375 kB / 0.5235 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.00397, allocations: 9.781 kB / 0.5235 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.19e-05/0.004032, allocations: 42.25 kB / 0.5236 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.004038, allocations: 4.188 kB / 0.5236 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.004045, allocations: 4.359 kB / 0.5236 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.00405, allocations: 5.719 kB / 0.5236 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.004072, allocations: 11.88 kB / 0.5236 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.004363, allocations: 327.7 kB / 0.5239 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.254e-05/0.004415, allocations: 36.61 kB / 0.524 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.004433, allocations: 15.69 kB / 0.524 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.269e-06/0.004438, allocations: 0 / 0.524 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.095e-05/0.004519, allocations: 88.98 kB / 0.5241 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.00452, allocations: 2.438 kB / 0.5241 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001654/0.004685, allocations: 93.61 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.004718, allocations: 55.41 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.173e-05/0.004799, allocations: 185.8 kB / 0.5244 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.00482, allocations: 29.7 kB / 0.5244 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.00488, allocations: 138.9 kB / 0.5245 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.004901, allocations: 20.45 kB / 0.5246 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.575e-05/0.004986, allocations: 51.34 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.00514, allocations: 0.4928 MB / 0.5251 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.005282, allocations: 108.2 kB / 0.5252 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.005449, allocations: 155.9 kB / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.005631, allocations: 167.3 kB / 0.5255 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.005633, allocations: 0.9375 kB / 0.5255 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004246/0.006058, allocations: 323.4 kB / 0.5258 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.006103, allocations: 67.39 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.006108, allocations: 4 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.00612, allocations: 0 / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.599e-05/0.006136, allocations: 7.938 kB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.006141, allocations: 0 / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.006357, allocations: 46.92 kB / 0.5259 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.006383, allocations: 12 kB / 0.5259 GB, free: 12.48 MB / 0.4948 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.0001001/0.006483, allocations: 170.2 kB / 0.5261 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.006503, allocations: 15.89 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.006526, allocations: 4.438 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.00653, allocations: 4 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.006533, allocations: 0 / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.006536, allocations: 1.5 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.00664, allocations: 124.6 kB / 0.5262 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.006641, allocations: 0 / 0.5262 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-06/0.00665, allocations: 11.92 kB / 0.5263 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.006652, allocations: 0.5 kB / 0.5263 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.00666, allocations: 3.938 kB / 0.5263 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.006661, allocations: 2.469 kB / 0.5263 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.006664, allocations: 4 kB / 0.5263 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.006815, allocations: 128.7 kB / 0.5264 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.006823, allocations: 3.953 kB / 0.5264 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.006835, allocations: 7.938 kB / 0.5264 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.311e-05/0.006848, allocations: 0 / 0.5264 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.006876, allocations: 10.42 kB / 0.5264 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.006881, allocations: 4 kB / 0.5264 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.254e-05/0.006924, allocations: 135.1 kB / 0.5265 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.006924, allocations: 0 / 0.5265 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001469/0.007071, allocations: 32 kB / 0.5266 GB, free: 11.77 MB / 0.4948 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 9.051e-05/0.007161, allocations: 101.1 kB / 0.5267 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.007397, allocations: 277.8 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.007399, allocations: 0 / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.007429, allocations: 28.7 kB / 0.527 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.007573, allocations: 16.92 kB / 0.527 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.007809, allocations: 166.6 kB / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.922e-05/0.007838, allocations: 55.36 kB / 0.5272 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.039e-05/0.007858, allocations: 7.984 kB / 0.5272 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.007878, allocations: 18.94 kB / 0.5272 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.007878, allocations: 0 / 0.5272 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.00304/0.01092, allocations: 2.046 MB / 0.5292 GB, free: 9.094 MB / 0.4948 GB " [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.7874182558152825]