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.0008421/0.0008421, allocations: 93.06 kB / 19.65 MB, free: 276 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.0008951/0.0008951, allocations: 169 kB / 23.02 MB, free: 1.543 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.9053/0.9053, allocations: 177.1 MB / 203.4 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.7175/0.7175, allocations: 154.6 MB / 414.5 MB, free: 0.6836 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.613e-06/1.613e-06, allocations: 0 / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.932e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00117/0.001189, allocations: 0.6373 MB / 0.521 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.002309, allocations: 1.24 MB / 0.5222 GB, free: 352 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.00235, allocations: 0 / 0.5222 GB, free: 352 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.00238, allocations: 3.938 kB / 0.5222 GB, free: 348 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.308e-05/0.002453, allocations: 12.78 kB / 0.5222 GB, free: 336 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.002936, allocations: 205 kB / 0.5224 GB, free: 132 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.003118, allocations: 181.2 kB / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.159e-05/0.0032, allocations: 15.92 kB / 0.5226 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.003298, allocations: 91.92 kB / 0.5227 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.815e-05/0.003396, allocations: 55.78 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.003423, allocations: 16.97 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.965e-05/0.003482, allocations: 23.98 kB / 0.5228 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.003502, allocations: 8 kB / 0.5228 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.659e-05/0.003558, allocations: 53.94 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.003721, allocations: 143.6 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003723, allocations: 0 / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003723, allocations: 0 / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.003727, allocations: 0 / 0.5229 GB, free: 15.55 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.0004088/0.004136, allocations: 464.6 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.00417, allocations: 12.03 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.615e-05/0.004226, allocations: 13.61 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.501e-05/0.004301, allocations: 116.6 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.004316, allocations: 4.906 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.004337, allocations: 12.38 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.081e-05/0.004417, allocations: 42.98 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.004425, allocations: 192 / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.004434, allocations: 1.812 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.004441, allocations: 8.312 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/0.004466, allocations: 19.92 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.004843, allocations: 324.5 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.067e-05/0.004914, allocations: 35.06 kB / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.004933, allocations: 16.55 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.00494, allocations: 0 / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.625e-05/0.005036, allocations: 88.03 kB / 0.5241 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.005037, allocations: 0 / 0.5241 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001961/0.005233, allocations: 97.84 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.005271, allocations: 59.34 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.948e-05/0.00536, allocations: 181.9 kB / 0.5244 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.005382, allocations: 29.7 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.00544, allocations: 134.9 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.005454, allocations: 15.91 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.005513, allocations: 51.84 kB / 0.5246 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.00562, allocations: 0.4893 MB / 0.5251 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.005726, allocations: 111.4 kB / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.005835, allocations: 157.8 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.005953, allocations: 159.3 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.005957, allocations: 4.906 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002815/0.006238, allocations: 316.9 kB / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.006275, allocations: 72.36 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.006281, allocations: 4 kB / 0.5259 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.006293, allocations: 0 / 0.5259 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.631e-05/0.006309, allocations: 9.219 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.006316, allocations: 4.062 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.006474, allocations: 50.08 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.006495, allocations: 11.98 kB / 0.5259 GB, free: 12.17 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 7.343e-05/0.006568, allocations: 164.6 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.00658, allocations: 11.89 kB / 0.5261 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.006603, allocations: 11.81 kB / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.006605, allocations: 7.938 kB / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.00661, allocations: 0 / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.006614, allocations: 3.984 kB / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.245e-05/0.006696, allocations: 128.6 kB / 0.5263 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.006697, allocations: 0 / 0.5263 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-06/0.006702, allocations: 4 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.006704, allocations: 0 / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.006712, allocations: 3.938 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006713, allocations: 3.031 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.006715, allocations: 0 / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.805e-05/0.006813, allocations: 120.4 kB / 0.5264 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-06/0.00682, allocations: 7.938 kB / 0.5264 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.006832, allocations: 8 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-06/0.006842, allocations: 4 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.006874, allocations: 7.922 kB / 0.5264 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.00688, allocations: 4 kB / 0.5264 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.738e-05/0.006918, allocations: 137.4 kB / 0.5265 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006918, allocations: 0 / 0.5265 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001516/0.007069, allocations: 32 kB / 0.5266 GB, free: 11.46 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.533e-05/0.007164, allocations: 96.75 kB / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002412/0.007406, allocations: 280.5 kB / 0.5269 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.007407, allocations: 0 / 0.5269 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.214e-05/0.007439, allocations: 30.42 kB / 0.527 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.007609, allocations: 22.61 kB / 0.527 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.007893, allocations: 166.6 kB / 0.5271 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.598e-05/0.007929, allocations: 59.34 kB / 0.5272 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.165e-05/0.00795, allocations: 6.156 kB / 0.5272 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.007971, allocations: 12.5 kB / 0.5272 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.007971, allocations: 0 / 0.5272 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of Templates: time 0.003592/0.01156, allocations: 2.244 MB / 0.5294 GB, free: 8.609 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.4044940238818526]