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.001429/0.001429, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.001604/0.001604, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.487/1.487, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.285/1.285, allocations: 154.6 MB / 414.2 MB, free: 0.6289 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 178] 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 2.014e-06/2.014e-06, allocations: 0 / 0.5196 GB, free: 1.441 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.797e-05, allocations: 2.312 kB / 0.5196 GB, free: 1.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001993/0.002021, allocations: 0.6338 MB / 0.5202 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.003882, allocations: 1.212 MB / 0.5214 GB, free: 15.6 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.003924, allocations: 0 / 0.5214 GB, free: 15.6 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.003953, allocations: 5.125 kB / 0.5214 GB, free: 15.6 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.846e-05/0.004032, allocations: 12.84 kB / 0.5214 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.004667, allocations: 208.8 kB / 0.5216 GB, free: 15.39 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.004926, allocations: 173 kB / 0.5218 GB, free: 15.22 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.308e-05/0.005009, allocations: 11.98 kB / 0.5218 GB, free: 15.21 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.005171, allocations: 96.58 kB / 0.5219 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.005305, allocations: 51.84 kB / 0.522 GB, free: 15.06 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.005344, allocations: 16.72 kB / 0.522 GB, free: 15.05 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.651e-05/0.005421, allocations: 27.98 kB / 0.522 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.005441, allocations: 7.281 kB / 0.522 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 9.42e-05/0.005536, allocations: 55.89 kB / 0.5221 GB, free: 14.96 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.005828, allocations: 183.5 kB / 0.5222 GB, free: 14.78 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.00583, allocations: 0 / 0.5222 GB, free: 14.78 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005831, allocations: 0 / 0.5222 GB, free: 14.78 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.005835, allocations: 0 / 0.5222 GB, free: 14.78 MB / 458.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.0005756/0.006411, allocations: 361.5 kB / 0.5226 GB, free: 14.38 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.00645, allocations: 12.03 kB / 0.5226 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.637e-05/0.006526, allocations: 12.89 kB / 0.5226 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.006664, allocations: 110.5 kB / 0.5227 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.006685, allocations: 8.375 kB / 0.5227 GB, free: 14.22 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.006719, allocations: 8.938 kB / 0.5227 GB, free: 14.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.00684, allocations: 50.23 kB / 0.5228 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.00685, allocations: 5.109 kB / 0.5228 GB, free: 14.15 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.00686, allocations: 384 / 0.5228 GB, free: 14.15 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.006864, allocations: 1.969 kB / 0.5228 GB, free: 14.15 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.062e-05/0.006914, allocations: 23.86 kB / 0.5228 GB, free: 14.13 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.007406, allocations: 272.5 kB / 0.5231 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.073e-05/0.007496, allocations: 26.58 kB / 0.5231 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.007535, allocations: 17.91 kB / 0.5231 GB, free: 13.78 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.007545, allocations: 0 / 0.5231 GB, free: 13.78 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.00773, allocations: 93.23 kB / 0.5232 GB, free: 13.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.007731, allocations: 0 / 0.5232 GB, free: 13.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002871/0.008018, allocations: 105.9 kB / 0.5233 GB, free: 13.57 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.008069, allocations: 51.41 kB / 0.5233 GB, free: 13.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.008199, allocations: 129.7 kB / 0.5235 GB, free: 13.37 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.008239, allocations: 30.42 kB / 0.5235 GB, free: 13.33 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.865e-05/0.008327, allocations: 92.09 kB / 0.5236 GB, free: 13.24 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.008353, allocations: 24.52 kB / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.008471, allocations: 45.69 kB / 0.5237 GB, free: 13.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.008654, allocations: 319.4 kB / 0.524 GB, free: 12.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.008851, allocations: 119.4 kB / 0.5241 GB, free: 12.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.00908, allocations: 160.3 kB / 0.5242 GB, free: 12.53 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.00932, allocations: 157 kB / 0.5244 GB, free: 12.35 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.009322, allocations: 0.7812 kB / 0.5244 GB, free: 12.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005837/0.009906, allocations: 337.1 kB / 0.5247 GB, free: 11.99 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.396e-05/0.00998, allocations: 70.45 kB / 0.5248 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.009987, allocations: 4 kB / 0.5248 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.01001, allocations: 0 / 0.5248 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.415e-05/0.01003, allocations: 7.938 kB / 0.5248 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.01004, allocations: 4.062 kB / 0.5248 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.01041, allocations: 56.33 kB / 0.5248 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.01045, allocations: 12.92 kB / 0.5248 GB, free: 11.83 MB / 458.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.0001241/0.01057, allocations: 121.8 kB / 0.525 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.0106, allocations: 20.59 kB / 0.525 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.01063, allocations: 8.438 kB / 0.525 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01063, allocations: 1.031 kB / 0.525 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.01063, allocations: 0 / 0.525 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.01064, allocations: 4 kB / 0.525 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.01078, allocations: 110.5 kB / 0.5251 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.01078, allocations: 3.938 kB / 0.5251 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.147e-05/0.01079, allocations: 3.984 kB / 0.5251 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.01079, allocations: 8.562 kB / 0.5251 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.0108, allocations: 4.656 kB / 0.5251 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01081, allocations: 0 / 0.5251 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01081, allocations: 3.281 kB / 0.5251 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.01099, allocations: 117.1 kB / 0.5252 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.01101, allocations: 8 kB / 0.5252 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.01102, allocations: 3.938 kB / 0.5252 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/0.01105, allocations: 0 / 0.5252 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.01109, allocations: 7.984 kB / 0.5253 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.0111, allocations: 4 kB / 0.5253 GB, free: 11.36 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.192e-05/0.01117, allocations: 95.2 kB / 0.5254 GB, free: 11.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01117, allocations: 0 / 0.5254 GB, free: 11.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002633/0.01144, allocations: 35.06 kB / 0.5254 GB, free: 11.23 MB / 458.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.0001596/0.0116, allocations: 99.23 kB / 0.5255 GB, free: 11.13 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.01202, allocations: 278.1 kB / 0.5257 GB, free: 10.82 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01202, allocations: 0 / 0.5257 GB, free: 10.82 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.597e-05/0.01208, allocations: 23.98 kB / 0.5258 GB, free: 10.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.01233, allocations: 17.98 kB / 0.5258 GB, free: 10.78 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.0127, allocations: 159.6 kB / 0.5259 GB, free: 10.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.264e-05/0.01278, allocations: 81.03 kB / 0.526 GB, free: 10.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.585e-05/0.01281, allocations: 4 kB / 0.526 GB, free: 10.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.01284, allocations: 15.25 kB / 0.526 GB, free: 10.48 MB / 458.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01284, allocations: 0 / 0.526 GB, free: 10.48 MB / 458.7 MB Notification: Performance of Templates: time 0.005612/0.01845, allocations: 2.049 MB / 0.528 GB, free: 8.559 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.824137608986348]