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.001024/0.001024, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001008/0.001008, allocations: 169.4 kB / 24.06 MB, free: 452 kB / 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.9272/0.9272, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.8682/0.8682, allocations: 154.9 MB / 415.9 MB, free: 260 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.573e-06/1.573e-06, allocations: 0 / 0.5219 GB, free: 1.488 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.109e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001451/0.001472, allocations: 0.6438 MB / 0.5225 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004376/0.005848, allocations: 1.232 MB / 0.5237 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.533e-05/0.005893, allocations: 1.375 kB / 0.5237 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.005919, allocations: 3.938 kB / 0.5237 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.139e-05/0.00599, allocations: 19.91 kB / 0.5237 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.006479, allocations: 213.8 kB / 0.524 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.006678, allocations: 175.7 kB / 0.5241 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.988e-05/0.006748, allocations: 0 / 0.5241 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.006861, allocations: 96.67 kB / 0.5242 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.006966, allocations: 51.86 kB / 0.5243 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.006992, allocations: 13.25 kB / 0.5243 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.007054, allocations: 31.97 kB / 0.5243 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.007075, allocations: 11.98 kB / 0.5243 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.007131, allocations: 48.64 kB / 0.5244 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.007297, allocations: 139.6 kB / 0.5245 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.007299, allocations: 0.625 kB / 0.5245 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.01e-07/0.0073, allocations: 0 / 0.5245 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.007304, allocations: 0.8438 kB / 0.5245 GB, free: 14.84 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.003419/0.01072, allocations: 463.9 kB / 0.5249 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.01076, allocations: 12.97 kB / 0.525 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.01081, allocations: 12.89 kB / 0.525 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.959e-05/0.01089, allocations: 112.6 kB / 0.5251 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.0109, allocations: 11.02 kB / 0.5251 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.01093, allocations: 12.38 kB / 0.5251 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.426e-05/0.01099, allocations: 38.25 kB / 0.5251 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.011, allocations: 192 / 0.5251 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.011, allocations: 384 / 0.5251 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.01101, allocations: 384 / 0.5251 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.942e-05/0.01103, allocations: 15.92 kB / 0.5251 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.01135, allocations: 317.6 kB / 0.5254 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.093e-05/0.01141, allocations: 35.05 kB / 0.5255 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.775e-05/0.01143, allocations: 11.77 kB / 0.5255 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.01144, allocations: 4.562 kB / 0.5255 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.572e-05/0.01153, allocations: 78 kB / 0.5256 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.01153, allocations: 0 / 0.5256 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001706/0.0117, allocations: 93.55 kB / 0.5257 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.01174, allocations: 60.59 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.625e-05/0.01182, allocations: 185.8 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.01185, allocations: 29.7 kB / 0.5259 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.01191, allocations: 135.4 kB / 0.5261 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.01192, allocations: 16.89 kB / 0.5261 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.95e-05/0.012, allocations: 55.33 kB / 0.5261 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.01212, allocations: 0.4923 MB / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.612e-05/0.01222, allocations: 105 kB / 0.5267 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.01233, allocations: 145.8 kB / 0.5268 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.01247, allocations: 155 kB / 0.527 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01247, allocations: 0 / 0.527 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003215/0.01279, allocations: 302.1 kB / 0.5273 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.01284, allocations: 77.61 kB / 0.5274 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.01284, allocations: 0 / 0.5274 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.01285, allocations: 4 kB / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.437e-05/0.01286, allocations: 5.375 kB / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.01287, allocations: 4 kB / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.01305, allocations: 44.77 kB / 0.5274 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.01307, allocations: 11.98 kB / 0.5274 GB, free: 11.53 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 8.195e-05/0.01315, allocations: 169.7 kB / 0.5276 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.01317, allocations: 11.95 kB / 0.5276 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.01319, allocations: 12.38 kB / 0.5276 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.01319, allocations: 0 / 0.5276 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.0132, allocations: 64 / 0.5276 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.0132, allocations: 7.984 kB / 0.5276 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.26e-05/0.01328, allocations: 112 kB / 0.5277 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01328, allocations: 3.984 kB / 0.5277 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-06/0.01329, allocations: 0 / 0.5277 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01329, allocations: 0 / 0.5277 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.0133, allocations: 7.938 kB / 0.5277 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.0133, allocations: 0 / 0.5277 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.01331, allocations: 7.922 kB / 0.5277 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.01342, allocations: 116.4 kB / 0.5279 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.01343, allocations: 5.297 kB / 0.5279 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.868e-06/0.01344, allocations: 0 / 0.5279 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.713e-05/0.01346, allocations: 4 kB / 0.5279 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.01348, allocations: 8.547 kB / 0.5279 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.01349, allocations: 8 kB / 0.5279 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.29e-05/0.01354, allocations: 130.6 kB / 0.528 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01354, allocations: 0 / 0.528 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002211/0.01376, allocations: 28 kB / 0.528 GB, free: 10.86 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.0001108/0.01387, allocations: 114.8 kB / 0.5281 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.01411, allocations: 266.2 kB / 0.5284 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.01411, allocations: 0 / 0.5284 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.115e-05/0.01414, allocations: 34.12 kB / 0.5284 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.01433, allocations: 15.98 kB / 0.5284 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002377/0.01457, allocations: 166.6 kB / 0.5286 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.036e-05/0.0146, allocations: 56.23 kB / 0.5286 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.143e-05/0.01462, allocations: 7.984 kB / 0.5287 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.01474, allocations: 103.3 kB / 0.5288 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.01474, allocations: 0 / 0.5288 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of Templates: time 0.007103/0.02184, allocations: 2.264 MB / 0.531 GB, free: 7.879 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.9050118550658226]