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.001866/0.001866, allocations: 85.48 kB / 19.44 MB, free: 336 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.002017/0.002017, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.577/1.577, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.358/1.358, allocations: 154.8 MB / 414.4 MB, free: 452 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 178] 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 3.417e-06/3.417e-06, allocations: 0 / 0.5199 GB, free: 2.297 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.995e-05/4.336e-05, allocations: 5.375 kB / 0.5199 GB, free: 2.293 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002587/0.00263, allocations: 0.6351 MB / 0.5205 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.005416, allocations: 1.219 MB / 0.5217 GB, free: 460 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.005469, allocations: 4 kB / 0.5217 GB, free: 456 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.31e-05/0.005512, allocations: 10.11 kB / 0.5217 GB, free: 448 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.625e-05/0.005608, allocations: 3.938 kB / 0.5217 GB, free: 444 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008628/0.006471, allocations: 211.4 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.006817, allocations: 172.8 kB / 0.5221 GB, free: 60 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.006922, allocations: 8 kB / 0.5221 GB, free: 52 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.007153, allocations: 100.9 kB / 0.5222 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.007316, allocations: 47.83 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.007371, allocations: 16.56 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.007487, allocations: 24 kB / 0.5223 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.00752, allocations: 13.23 kB / 0.5223 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.007636, allocations: 51.95 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.008006, allocations: 187.5 kB / 0.5225 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.008011, allocations: 0.9375 kB / 0.5225 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.024e-06/0.008013, allocations: 0 / 0.5225 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.008018, allocations: 0 / 0.5225 GB, free: 15.62 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.0008051/0.008823, allocations: 465 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.008873, allocations: 8.031 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.008975, allocations: 16.88 kB / 0.523 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.009134, allocations: 112.6 kB / 0.5231 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.009162, allocations: 13.39 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.009202, allocations: 8.375 kB / 0.5231 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.009361, allocations: 50.23 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.009371, allocations: 0.875 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.009383, allocations: 384 / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.009387, allocations: 1.656 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.504e-05/0.009452, allocations: 15.94 kB / 0.5232 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007064/0.01016, allocations: 335.7 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.01029, allocations: 43.67 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.01034, allocations: 16.66 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.01036, allocations: 7.938 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.01056, allocations: 85.58 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.01056, allocations: 0 / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0003859/0.01095, allocations: 114.4 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.01102, allocations: 55.41 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.01123, allocations: 187.9 kB / 0.524 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.01129, allocations: 33.7 kB / 0.524 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.01142, allocations: 142.8 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.01145, allocations: 11.91 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.0116, allocations: 59.34 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003227/0.01193, allocations: 0.4934 MB / 0.5247 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.01223, allocations: 135.4 kB / 0.5248 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.01256, allocations: 185.7 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.01289, allocations: 179.3 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01289, allocations: 0.5 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000833/0.01373, allocations: 373.7 kB / 0.5255 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.48e-05/0.01382, allocations: 68.27 kB / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01383, allocations: 0 / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.01385, allocations: 4.625 kB / 0.5256 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.848e-05/0.01388, allocations: 0 / 0.5256 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.0139, allocations: 8.5 kB / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.01431, allocations: 42.64 kB / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.01436, allocations: 12 kB / 0.5256 GB, free: 12.07 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.0002005/0.01456, allocations: 174.7 kB / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.01459, allocations: 11.89 kB / 0.5258 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.01463, allocations: 10.88 kB / 0.5258 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01463, allocations: 0 / 0.5258 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.01463, allocations: 4 kB / 0.5258 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01464, allocations: 0 / 0.5258 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.01484, allocations: 136.5 kB / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01484, allocations: 0 / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.089e-05/0.01486, allocations: 0 / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01486, allocations: 1.562 kB / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.01488, allocations: 7.938 kB / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01488, allocations: 0 / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.01488, allocations: 0 / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.01515, allocations: 133.6 kB / 0.5261 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.01517, allocations: 4 kB / 0.5261 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.01519, allocations: 3.938 kB / 0.5261 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.156e-05/0.01522, allocations: 5.016 kB / 0.5261 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.01528, allocations: 8 kB / 0.5261 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.0153, allocations: 7.984 kB / 0.5261 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001177/0.01542, allocations: 138.4 kB / 0.5263 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01542, allocations: 0 / 0.5263 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00037/0.01579, allocations: 27.95 kB / 0.5263 GB, free: 11.36 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.0002302/0.01602, allocations: 107.2 kB / 0.5264 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006396/0.01666, allocations: 333.8 kB / 0.5267 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01666, allocations: 3.031 kB / 0.5267 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.058e-05/0.01675, allocations: 43.67 kB / 0.5268 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.01709, allocations: 11.98 kB / 0.5268 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.01759, allocations: 162.8 kB / 0.5269 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.615e-05/0.01769, allocations: 68.75 kB / 0.527 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.623e-05/0.01773, allocations: 7.984 kB / 0.527 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.01776, allocations: 12.5 kB / 0.527 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.01776, allocations: 1.281 kB / 0.527 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.00797/0.02573, allocations: 2.046 MB / 0.529 GB, free: 8.59 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: 6.0812629060819745]