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.0009431/0.0009431, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001011/0.001011, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9533/0.9533, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.8145/0.8145, allocations: 154.6 MB / 414.9 MB, free: 0.5117 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.623e-06/1.623e-06, allocations: 0.6562 kB / 480.1 MB, free: 6.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.723e-05, allocations: 5.031 kB / 480.1 MB, free: 6.855 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001253/0.00127, allocations: 0.6949 MB / 480.8 MB, free: 6.195 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.002432, allocations: 1.249 MB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/0.002472, allocations: 0 / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.0025, allocations: 4.484 kB / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.136e-05/0.002571, allocations: 5.5 kB / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.003022, allocations: 213 kB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.003199, allocations: 173.5 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.593e-05/0.003265, allocations: 14.95 kB / 482.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.003369, allocations: 90.66 kB / 482.5 MB, free: 4.473 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.829e-05/0.003467, allocations: 57.38 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.003489, allocations: 16 kB / 482.6 MB, free: 4.402 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.781e-05/0.003557, allocations: 36.73 kB / 482.6 MB, free: 4.367 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.003574, allocations: 7.938 kB / 482.6 MB, free: 4.359 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.00362, allocations: 47.95 kB / 482.7 MB, free: 4.312 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.003759, allocations: 139.7 kB / 482.8 MB, free: 4.176 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003761, allocations: 0.9062 kB / 482.8 MB, free: 4.176 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003761, allocations: 0 / 482.8 MB, free: 4.176 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.095e-06/0.003765, allocations: 4 kB / 482.8 MB, free: 4.172 MB / 442.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.0003103/0.004075, allocations: 327.8 kB / 483.1 MB, free: 3.816 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.004107, allocations: 9.125 kB / 483.1 MB, free: 3.809 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.004143, allocations: 12.92 kB / 483.1 MB, free: 3.797 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.282e-05/0.004216, allocations: 113.7 kB / 483.2 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.004228, allocations: 5 kB / 483.3 MB, free: 3.656 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.004246, allocations: 17.61 kB / 483.3 MB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.681e-05/0.004303, allocations: 42.23 kB / 483.3 MB, free: 3.594 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.00431, allocations: 0.8125 kB / 483.3 MB, free: 3.594 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.004317, allocations: 4.375 kB / 483.3 MB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.004322, allocations: 2.078 kB / 483.3 MB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.347e-05/0.004336, allocations: 12.5 kB / 483.3 MB, free: 3.578 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.004571, allocations: 184.3 kB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.617e-05/0.004617, allocations: 23.2 kB / 483.5 MB, free: 3.352 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.004632, allocations: 13.53 kB / 483.5 MB, free: 3.336 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-06/0.004638, allocations: 0.8125 kB / 483.5 MB, free: 3.336 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.082e-05/0.004719, allocations: 79.25 kB / 483.6 MB, free: 3.246 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.00472, allocations: 1.781 kB / 483.6 MB, free: 3.246 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001135/0.004833, allocations: 77.59 kB / 483.7 MB, free: 3.164 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.004862, allocations: 59.34 kB / 483.8 MB, free: 3.094 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.992e-05/0.004922, allocations: 118.7 kB / 483.9 MB, free: 2.965 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.004942, allocations: 33.7 kB / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.004977, allocations: 96.86 kB / 484 MB, free: 2.828 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.139e-05/0.004988, allocations: 11.94 kB / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.005047, allocations: 46.67 kB / 484.1 MB, free: 2.766 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.005117, allocations: 322.8 kB / 484.4 MB, free: 2.441 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.95e-05/0.005187, allocations: 91.38 kB / 484.5 MB, free: 2.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.529e-05/0.005262, allocations: 128.2 kB / 484.6 MB, free: 2.188 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.372e-05/0.005356, allocations: 145.5 kB / 484.7 MB, free: 2.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.005357, allocations: 0 / 484.7 MB, free: 2.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001854/0.005543, allocations: 258.9 kB / 485 MB, free: 1.738 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.005579, allocations: 68.23 kB / 485.1 MB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.005584, allocations: 3.938 kB / 485.1 MB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.005596, allocations: 5.156 kB / 485.1 MB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-05/0.005611, allocations: 7.938 kB / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.005617, allocations: 4 kB / 485.1 MB, free: 1.641 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.005752, allocations: 46.25 kB / 485.1 MB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.00577, allocations: 8 kB / 485.1 MB, free: 1.59 MB / 442.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 6.52e-05/0.005835, allocations: 121.8 kB / 485.2 MB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.005844, allocations: 4 kB / 485.2 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.005864, allocations: 12.91 kB / 485.3 MB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.005865, allocations: 1.469 kB / 485.3 MB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.005867, allocations: 4 kB / 485.3 MB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.005871, allocations: 3.984 kB / 485.3 MB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.793e-05/0.005929, allocations: 69.89 kB / 485.3 MB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.005929, allocations: 0.9062 kB / 485.3 MB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.583e-06/0.005936, allocations: 7.984 kB / 485.3 MB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.005937, allocations: 4.531 kB / 485.4 MB, free: 1.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-06/0.005941, allocations: 64 / 485.4 MB, free: 1.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.005944, allocations: 4.594 kB / 485.4 MB, free: 1.336 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.005945, allocations: 5.375 kB / 485.4 MB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.42e-05/0.006019, allocations: 85.41 kB / 485.4 MB, free: 1.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.006028, allocations: 11.89 kB / 485.5 MB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-06/0.006035, allocations: 0 / 485.5 MB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.084e-05/0.006046, allocations: 4.828 kB / 485.5 MB, free: 1.219 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.006072, allocations: 15.88 kB / 485.5 MB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.006074, allocations: 0 / 485.5 MB, free: 1.203 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.484e-05/0.006089, allocations: 18.38 kB / 485.5 MB, free: 1.184 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006089, allocations: 0 / 485.5 MB, free: 1.184 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001293/0.006219, allocations: 28 kB / 485.5 MB, free: 1.156 MB / 442.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 8.677e-05/0.006305, allocations: 89.75 kB / 485.6 MB, free: 1.062 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.006495, allocations: 259.5 kB / 485.9 MB, free: 0.7695 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.006498, allocations: 1.844 kB / 485.9 MB, free: 0.7695 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3e-05/0.006528, allocations: 16.86 kB / 485.9 MB, free: 0.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.006654, allocations: 17.48 kB / 485.9 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.006872, allocations: 154.9 kB / 486.1 MB, free: 0.5547 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.821e-05/0.0069, allocations: 59.34 kB / 486.1 MB, free: 488 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.436e-05/0.006924, allocations: 5.312 kB / 486.1 MB, free: 484 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.521e-05/0.007019, allocations: 79.34 kB / 486.2 MB, free: 404 kB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/0.00702, allocations: 4.656 kB / 486.2 MB, free: 400 kB / 442.7 MB Notification: Performance of Templates: time 0.003262/0.01028, allocations: 2.208 MB / 488.4 MB, free: 14.34 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.696149335242808]