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.001149/0.001149, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0009439/0.0009439, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8743/0.8743, allocations: 177.1 MB / 203.5 MB, free: 5.727 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-531:686: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-531:694: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.6977/0.6977, allocations: 154.6 MB / 414.5 MB, free: 0.8164 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 2.444e-06/2.444e-06, allocations: 0 / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.233e-05/3.477e-05, allocations: 5.781 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001442/0.001477, allocations: 0.6297 MB / 0.62 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.002526, allocations: 1.213 MB / 0.6211 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.933e-05/0.002565, allocations: 0 / 0.6211 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.002591, allocations: 3.938 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.444e-05/0.002655, allocations: 19.86 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.003098, allocations: 217.3 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.00326, allocations: 171.7 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.221e-05/0.003342, allocations: 4 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.003443, allocations: 99.86 kB / 0.6216 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.164e-05/0.003535, allocations: 59.83 kB / 0.6217 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.003556, allocations: 12 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.677e-05/0.003613, allocations: 27.94 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.003634, allocations: 11.98 kB / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.039e-05/0.003684, allocations: 43.95 kB / 0.6218 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.003869, allocations: 183.5 kB / 0.622 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003871, allocations: 4 kB / 0.622 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.31e-07/0.003872, allocations: 0 / 0.622 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.003876, allocations: 4 kB / 0.622 GB, free: 10.44 MB / 0.5886 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.0003677/0.004244, allocations: 353.5 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.004277, allocations: 8.031 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.004321, allocations: 12.89 kB / 0.6223 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.97e-05/0.004391, allocations: 113.7 kB / 0.6224 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.004406, allocations: 8.375 kB / 0.6224 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.004425, allocations: 8.375 kB / 0.6225 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.9e-05/0.004514, allocations: 46.25 kB / 0.6225 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.004521, allocations: 4.188 kB / 0.6225 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.004531, allocations: 8.359 kB / 0.6225 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.004535, allocations: 384 / 0.6225 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.524e-05/0.004571, allocations: 19.88 kB / 0.6225 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.004898, allocations: 276.4 kB / 0.6228 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.318e-05/0.004961, allocations: 34.56 kB / 0.6228 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.004981, allocations: 8.859 kB / 0.6228 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.00499, allocations: 0 / 0.6228 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.005122, allocations: 87.39 kB / 0.6229 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 6.51e-07/0.005122, allocations: 0 / 0.6229 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0001932/0.005315, allocations: 109.6 kB / 0.623 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.005349, allocations: 55.41 kB / 0.6231 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.621e-05/0.005416, allocations: 121.7 kB / 0.6232 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.005435, allocations: 29.7 kB / 0.6232 GB, free: 9 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.005482, allocations: 100.1 kB / 0.6233 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.005495, allocations: 15.91 kB / 0.6233 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.005557, allocations: 49.69 kB / 0.6234 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.005631, allocations: 314.8 kB / 0.6237 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.00574, allocations: 119.4 kB / 0.6238 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.005856, allocations: 159.6 kB / 0.6239 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.005978, allocations: 163.6 kB / 0.6241 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.00598, allocations: 0 / 0.6241 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002823/0.006263, allocations: 332.2 kB / 0.6244 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.006301, allocations: 67.39 kB / 0.6245 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.006307, allocations: 3.984 kB / 0.6245 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.006319, allocations: 0 / 0.6245 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.744e-05/0.006336, allocations: 12.11 kB / 0.6245 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.006341, allocations: 0 / 0.6245 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.00653, allocations: 51.94 kB / 0.6245 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.00655, allocations: 15.98 kB / 0.6246 GB, free: 7.496 MB / 0.5886 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.032e-05/0.00662, allocations: 125.4 kB / 0.6247 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.006629, allocations: 11.89 kB / 0.6247 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.00665, allocations: 8.438 kB / 0.6247 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.006652, allocations: 4 kB / 0.6247 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.006656, allocations: 480 / 0.6247 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.006659, allocations: 0 / 0.6247 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.123e-05/0.00673, allocations: 125.2 kB / 0.6248 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.12e-07/0.006731, allocations: 0 / 0.6248 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-06/0.006736, allocations: 3.938 kB / 0.6248 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.006739, allocations: 11.88 kB / 0.6248 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.006745, allocations: 0 / 0.6248 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.006745, allocations: 0 / 0.6248 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.006746, allocations: 0 / 0.6248 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.689e-05/0.006843, allocations: 117 kB / 0.6249 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-06/0.006849, allocations: 8 kB / 0.625 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.006861, allocations: 3.938 kB / 0.625 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.184e-05/0.006872, allocations: 3.984 kB / 0.625 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.006904, allocations: 8 kB / 0.625 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.00691, allocations: 7.984 kB / 0.625 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.011e-05/0.00694, allocations: 87.28 kB / 0.6251 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00694, allocations: 0 / 0.6251 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001599/0.0071, allocations: 31.95 kB / 0.6251 GB, free: 6.891 MB / 0.5886 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.0001136/0.007213, allocations: 103.2 kB / 0.6252 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002433/0.007457, allocations: 278.1 kB / 0.6255 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.007458, allocations: 4 kB / 0.6255 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.191e-05/0.00749, allocations: 19.94 kB / 0.6255 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.007655, allocations: 18.83 kB / 0.6255 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.007922, allocations: 187.8 kB / 0.6257 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.172e-05/0.007964, allocations: 75.58 kB / 0.6257 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.007981, allocations: 12.5 kB / 0.6258 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.007982, allocations: 0 / 0.6258 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of Templates: time 0.002278/0.01026, allocations: 1.405 MB / 0.6271 GB, free: 4.723 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9838115610182285] Failed to read output from testmodel.py, exit status != 0: 0.01660666335374117 0.025021981000000002 0.019289233000000003 Calling exit ...