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.0008049/0.0008049, 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.000867/0.000867, 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.8886/0.8886, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7306/0.7306, 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.0009004/0.0009004, allocations: 67.91 kB / 0.6199 GB, free: 12.77 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.4799/0.4808, allocations: 102 MB / 0.7195 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001493/0.4823, allocations: 0.6217 MB / 0.7201 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.4837, allocations: 1.211 MB / 0.7212 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.4837, allocations: 1.438 kB / 0.7212 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.243e-05/0.4838, allocations: 4.453 kB / 0.7212 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.802e-05/0.4839, allocations: 14.94 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005996/0.4845, allocations: 219.2 kB / 0.7215 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.4847, allocations: 177 kB / 0.7216 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.4848, allocations: 13.59 kB / 0.7217 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.4849, allocations: 96.66 kB / 0.7217 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.4851, allocations: 52.61 kB / 0.7218 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.4851, allocations: 15.47 kB / 0.7218 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.476e-05/0.4852, allocations: 35.27 kB / 0.7218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.4852, allocations: 4.797 kB / 0.7218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.216e-05/0.4853, allocations: 56.62 kB / 0.7219 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.4855, allocations: 150.8 kB / 0.722 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4855, allocations: 1.25 kB / 0.722 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4855, allocations: 0 / 0.722 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.4855, allocations: 4 kB / 0.7221 GB, free: 21.82 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.0004217/0.4859, allocations: 362.3 kB / 0.7224 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.486, allocations: 10.44 kB / 0.7224 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.486, allocations: 13.66 kB / 0.7224 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.83e-05/0.4861, allocations: 110.6 kB / 0.7225 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.4861, allocations: 5.734 kB / 0.7225 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.4861, allocations: 9.016 kB / 0.7225 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.4863, allocations: 62.06 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4863, allocations: 1.312 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.4863, allocations: 4.5 kB / 0.7226 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.4863, allocations: 5.062 kB / 0.7226 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.754e-05/0.4863, allocations: 13.64 kB / 0.7226 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.4867, allocations: 274.9 kB / 0.7229 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.393e-05/0.4868, allocations: 33.5 kB / 0.7229 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/0.4868, allocations: 18.97 kB / 0.7229 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.4868, allocations: 1.25 kB / 0.7229 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.487, allocations: 82.34 kB / 0.723 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.487, allocations: 0 / 0.723 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002302/0.4872, allocations: 105.3 kB / 0.7231 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.4872, allocations: 57.48 kB / 0.7232 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.993e-05/0.4873, allocations: 116 kB / 0.7233 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.4873, allocations: 38.39 kB / 0.7233 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.4874, allocations: 98.47 kB / 0.7234 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.4874, allocations: 10.98 kB / 0.7234 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.4875, allocations: 49.23 kB / 0.7235 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.787e-05/0.4875, allocations: 319.9 kB / 0.7238 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.4876, allocations: 120.1 kB / 0.7239 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.4878, allocations: 151.6 kB / 0.724 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.4879, allocations: 170.9 kB / 0.7242 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4879, allocations: 3.938 kB / 0.7242 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003212/0.4882, allocations: 321.4 kB / 0.7245 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/0.4883, allocations: 67.22 kB / 0.7246 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4883, allocations: 2.188 kB / 0.7246 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4883, allocations: 1.094 kB / 0.7246 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.574e-05/0.4883, allocations: 3.172 kB / 0.7246 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4883, allocations: 2.969 kB / 0.7246 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.4885, allocations: 60.12 kB / 0.7246 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.4886, allocations: 15.8 kB / 0.7247 GB, free: 19.57 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 7.102e-05/0.4886, allocations: 129.8 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.4887, allocations: 7.438 kB / 0.7248 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.4887, allocations: 11.58 kB / 0.7248 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.4887, allocations: 3.938 kB / 0.7248 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4887, allocations: 5.25 kB / 0.7248 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4887, allocations: 0.7031 kB / 0.7248 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.33e-05/0.4888, allocations: 121 kB / 0.7249 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4888, allocations: 0 / 0.7249 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-06/0.4888, allocations: 2.062 kB / 0.7249 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4888, allocations: 1.188 kB / 0.7249 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.4888, allocations: 6.5 kB / 0.7249 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4888, allocations: 0 / 0.7249 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4888, allocations: 1.125 kB / 0.7249 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.4889, allocations: 113.8 kB / 0.725 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-06/0.4889, allocations: 2.891 kB / 0.725 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.4889, allocations: 6.547 kB / 0.725 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.634e-05/0.4889, allocations: 1.281 kB / 0.725 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.489, allocations: 6.719 kB / 0.7251 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.489, allocations: 11.2 kB / 0.7251 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.739e-05/0.489, allocations: 96.91 kB / 0.7252 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-08/0.489, allocations: 1.125 kB / 0.7252 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001722/0.4892, allocations: 27.12 kB / 0.7252 GB, free: 19.11 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.0001311/0.4893, allocations: 104.3 kB / 0.7253 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002834/0.4896, allocations: 288.1 kB / 0.7256 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4896, allocations: 1.344 kB / 0.7256 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.772e-05/0.4897, allocations: 24.44 kB / 0.7256 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.4899, allocations: 19.42 kB / 0.7256 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/0.4903, allocations: 160.4 kB / 0.7258 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.718e-05/0.4903, allocations: 69.19 kB / 0.7258 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.4904, allocations: 14.16 kB / 0.7258 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.4904, allocations: 16.34 kB / 0.7258 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/0.4904, allocations: 0 / 0.7258 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of Templates: time 0.005006/0.4954, allocations: 2.05 MB / 0.7278 GB, free: 18.29 MB / 0.6355 GB " [Timeout remaining time 659] 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 gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.291461715940386] Failed to read output from testmodel.py, exit status != 0: 0.5018415210070089 0.5138227519999999 0.026246252 Calling exit ...