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.0007561/0.0007561, allocations: 80.45 kB / 19.9 MB, free: 12 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.0007555/0.0007555, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9165/0.9165, allocations: 177.2 MB / 203.6 MB, free: 5.754 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-531:686: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-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7318/0.7318, allocations: 154.9 MB / 414.9 MB, free: 0.5117 MB / 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009877/0.0009877, allocations: 71.89 kB / 0.6199 GB, free: 12.76 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.4674, allocations: 102 MB / 0.7194 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00138/0.4688, allocations: 0.6342 MB / 0.7201 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.4699, allocations: 1.204 MB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.4699, allocations: 0.9062 kB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.47, allocations: 4.641 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.77e-05/0.47, allocations: 16.36 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004961/0.4705, allocations: 220.3 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.4707, allocations: 174.5 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.4708, allocations: 9.516 kB / 0.7217 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.4709, allocations: 96.97 kB / 0.7217 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.4711, allocations: 56.22 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.4711, allocations: 15.09 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.698e-05/0.4712, allocations: 31.52 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.4712, allocations: 12.8 kB / 0.7219 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.531e-05/0.4712, allocations: 53.09 kB / 0.7219 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.4714, allocations: 149.7 kB / 0.722 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4714, allocations: 0.75 kB / 0.722 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4715, allocations: 5.219 kB / 0.7221 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4715, allocations: 0 / 0.7221 GB, free: 21.86 MB / 0.6355 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.0003968/0.4719, allocations: 358 kB / 0.7224 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.4719, allocations: 10.86 kB / 0.7224 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.4719, allocations: 13.3 kB / 0.7224 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.424e-05/0.472, allocations: 114.2 kB / 0.7225 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.472, allocations: 14.94 kB / 0.7225 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.472, allocations: 8.562 kB / 0.7225 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.408e-05/0.4721, allocations: 53.52 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.4721, allocations: 2.078 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.4722, allocations: 11.94 kB / 0.7226 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4722, allocations: 1.125 kB / 0.7226 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.393e-05/0.4722, allocations: 13.22 kB / 0.7226 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.4725, allocations: 266.3 kB / 0.7229 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.555e-05/0.4726, allocations: 38.66 kB / 0.7229 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/0.4726, allocations: 14.59 kB / 0.7229 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.4726, allocations: 5.188 kB / 0.7229 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.4728, allocations: 78.64 kB / 0.723 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.4728, allocations: 0 / 0.723 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002108/0.473, allocations: 113.4 kB / 0.7231 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.473, allocations: 53.2 kB / 0.7232 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.959e-05/0.4731, allocations: 116.2 kB / 0.7233 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.4731, allocations: 30.2 kB / 0.7233 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.4731, allocations: 94.03 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/0.4731, allocations: 16.33 kB / 0.7234 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.4732, allocations: 48.22 kB / 0.7235 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.301e-05/0.4732, allocations: 328.6 kB / 0.7238 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.4733, allocations: 115.2 kB / 0.7239 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.4735, allocations: 155 kB / 0.724 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.4736, allocations: 163.3 kB / 0.7242 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4736, allocations: 5.484 kB / 0.7242 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003014/0.4739, allocations: 320.6 kB / 0.7245 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.4739, allocations: 72.2 kB / 0.7246 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4739, allocations: 1.062 kB / 0.7246 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.4739, allocations: 2.188 kB / 0.7246 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.014e-05/0.474, allocations: 3.312 kB / 0.7246 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.474, allocations: 1.062 kB / 0.7246 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.4742, allocations: 60 kB / 0.7246 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.4742, allocations: 12.14 kB / 0.7246 GB, free: 19.61 MB / 0.6355 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 5.986e-05/0.4743, allocations: 132 kB / 0.7248 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.4743, allocations: 7.219 kB / 0.7248 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.4743, allocations: 10.69 kB / 0.7248 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4743, allocations: 5.344 kB / 0.7248 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4743, allocations: 0 / 0.7248 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4743, allocations: 1.766 kB / 0.7248 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.277e-05/0.4744, allocations: 124.6 kB / 0.7249 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4744, allocations: 0 / 0.7249 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-06/0.4744, allocations: 1.906 kB / 0.7249 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4744, allocations: 1.031 kB / 0.7249 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.4744, allocations: 5.797 kB / 0.7249 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4744, allocations: 1.578 kB / 0.7249 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4744, allocations: 0 / 0.7249 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.4745, allocations: 115.1 kB / 0.725 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-06/0.4745, allocations: 6.328 kB / 0.725 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.4745, allocations: 2.109 kB / 0.725 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.4745, allocations: 5.156 kB / 0.725 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.4746, allocations: 10.11 kB / 0.7251 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.4746, allocations: 6.875 kB / 0.7251 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.562e-05/0.4746, allocations: 93.81 kB / 0.7252 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4746, allocations: 4.969 kB / 0.7252 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001739/0.4748, allocations: 31.47 kB / 0.7252 GB, free: 19.14 MB / 0.6355 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.0001193/0.4749, allocations: 105.8 kB / 0.7253 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.4752, allocations: 279.1 kB / 0.7256 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4752, allocations: 0 / 0.7256 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.472e-05/0.4752, allocations: 21.78 kB / 0.7256 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.4754, allocations: 26.52 kB / 0.7256 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.4757, allocations: 164.4 kB / 0.7258 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.113e-05/0.4757, allocations: 68.89 kB / 0.7258 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.27e-05/0.4757, allocations: 9.469 kB / 0.7258 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.4757, allocations: 12.27 kB / 0.7258 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of SimCode: time 8.31e-07/0.4757, allocations: 1.5 kB / 0.7258 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of Templates: time 0.003919/0.4797, allocations: 2.045 MB / 0.7278 GB, free: 18.34 MB / 0.6355 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=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.166252191062085] Failed to read output from testmodel.py, exit status != 0: 0.4854706149781123 0.49419880000000005 0.020964894 Calling exit ...