Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001063/0.001063, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001329/0.001329, allocations: 177 kB / 23.49 MB, free: 1.059 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.031/1.031, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8484/0.8484, allocations: 154.8 MB / 415.1 MB, free: 476 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5206 GB, free: 2.277 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.904e-05, allocations: 8 kB / 0.5206 GB, free: 2.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001125/0.001144, allocations: 0.6465 MB / 0.5212 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.002271, allocations: 1.23 MB / 0.5224 GB, free: 412 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.002316, allocations: 1.594 kB / 0.5224 GB, free: 412 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.002344, allocations: 3.938 kB / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.841e-05/0.002412, allocations: 23.78 kB / 0.5224 GB, free: 384 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.002897, allocations: 206.5 kB / 0.5226 GB, free: 180 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.003074, allocations: 171.7 kB / 0.5228 GB, free: 8 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.584e-05/0.00316, allocations: 7.984 kB / 0.5228 GB, free: 0 / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.003285, allocations: 95.81 kB / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.835e-05/0.003384, allocations: 51.91 kB / 0.523 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.003407, allocations: 12.75 kB / 0.523 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.93e-05/0.003466, allocations: 27.98 kB / 0.523 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.003488, allocations: 20.62 kB / 0.523 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.458e-05/0.003542, allocations: 39.97 kB / 0.523 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.003708, allocations: 144.1 kB / 0.5232 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.00371, allocations: 4.75 kB / 0.5232 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003711, allocations: 0 / 0.5232 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.003714, allocations: 1.438 kB / 0.5232 GB, free: 15.61 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.0004026/0.004117, allocations: 459.9 kB / 0.5236 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.004151, allocations: 8.031 kB / 0.5236 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.004211, allocations: 16.89 kB / 0.5237 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.725e-05/0.004298, allocations: 125.3 kB / 0.5238 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.004312, allocations: 4.375 kB / 0.5238 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.004333, allocations: 13.16 kB / 0.5238 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.906e-05/0.004412, allocations: 38.25 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.004419, allocations: 3.312 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.004427, allocations: 384 / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.004434, allocations: 384 / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.789e-05/0.004462, allocations: 23.86 kB / 0.5239 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.004799, allocations: 319.7 kB / 0.5242 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.137e-05/0.004861, allocations: 39.05 kB / 0.5242 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.00488, allocations: 11.69 kB / 0.5242 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.004887, allocations: 4 kB / 0.5242 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.629e-05/0.004983, allocations: 89.48 kB / 0.5243 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.004984, allocations: 0.9688 kB / 0.5243 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001913/0.005175, allocations: 97.61 kB / 0.5244 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.005207, allocations: 56.03 kB / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.005294, allocations: 181.8 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.005315, allocations: 30.67 kB / 0.5246 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.005371, allocations: 138.9 kB / 0.5248 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.005384, allocations: 16.86 kB / 0.5248 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.076e-05/0.005444, allocations: 55.34 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.00555, allocations: 0.4884 MB / 0.5253 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.005653, allocations: 112.2 kB / 0.5254 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.005765, allocations: 157.8 kB / 0.5256 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.005884, allocations: 160 kB / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.005887, allocations: 0 / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002913/0.006178, allocations: 324.8 kB / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.006215, allocations: 69.02 kB / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.00622, allocations: 4 kB / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.006232, allocations: 0 / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.774e-05/0.00625, allocations: 7.938 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.006255, allocations: 1.156 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.006408, allocations: 40.78 kB / 0.5262 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.00643, allocations: 19.98 kB / 0.5262 GB, free: 12.23 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.384e-05/0.006503, allocations: 167.8 kB / 0.5263 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.006515, allocations: 15.88 kB / 0.5264 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.965e-05/0.006535, allocations: 9.156 kB / 0.5264 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.006537, allocations: 0 / 0.5264 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.006541, allocations: 4.625 kB / 0.5264 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.006544, allocations: 0 / 0.5264 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.711e-05/0.006621, allocations: 126.4 kB / 0.5265 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.006622, allocations: 3.938 kB / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-06/0.006627, allocations: 3.984 kB / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.006628, allocations: 4 kB / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.006636, allocations: 3.938 kB / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.006637, allocations: 1.5 kB / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.006637, allocations: 0 / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.94e-05/0.006737, allocations: 120.7 kB / 0.5266 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-06/0.006745, allocations: 11.95 kB / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.006757, allocations: 6.688 kB / 0.5266 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.19e-05/0.006769, allocations: 4 kB / 0.5266 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.006799, allocations: 3.984 kB / 0.5266 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.006804, allocations: 4 kB / 0.5267 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.137e-05/0.006845, allocations: 139.1 kB / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006845, allocations: 0 / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001564/0.007001, allocations: 28 kB / 0.5268 GB, free: 11.53 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 0.0001032/0.007105, allocations: 101.4 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.007342, allocations: 281.7 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.007344, allocations: 0 / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.133e-05/0.007375, allocations: 28.58 kB / 0.5272 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.00753, allocations: 15.83 kB / 0.5272 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.007778, allocations: 173 kB / 0.5274 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.951e-05/0.007807, allocations: 55.36 kB / 0.5274 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.112e-05/0.007829, allocations: 7.984 kB / 0.5274 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.857e-05/0.007847, allocations: 12.5 kB / 0.5275 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.007848, allocations: 0.875 kB / 0.5275 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.00337/0.01122, allocations: 2.049 MB / 0.5295 GB, free: 8.836 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9067685620393604]