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.0008892/0.0008892, allocations: 96.36 kB / 19.7 MB, free: 456 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.001037/0.001037, allocations: 211.4 kB / 23 MB, free: 2.969 MB / 13.93 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.9132/0.9132, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.7738/0.7738, allocations: 203.5 MB / 0.5046 GB, free: 10.69 MB / 410.7 MB " [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: 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.0009013/0.0009013, allocations: 69.89 kB / 0.719 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4948/0.4957, allocations: 102 MB / 0.8186 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001438/0.4971, allocations: 0.6184 MB / 0.8192 GB, free: 1.145 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.4982, allocations: 1.212 MB / 0.8204 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.4982, allocations: 0 / 0.8204 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.4983, allocations: 4.547 kB / 0.8204 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.803e-05/0.4983, allocations: 9.172 kB / 0.8204 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.4988, allocations: 220.5 kB / 0.8206 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.499, allocations: 177.7 kB / 0.8208 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.973e-05/0.4991, allocations: 5.375 kB / 0.8208 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.192e-05/0.4992, allocations: 70.75 kB / 0.8209 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.4994, allocations: 54 kB / 0.8209 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.4994, allocations: 13.19 kB / 0.8209 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.911e-05/0.4994, allocations: 29.62 kB / 0.821 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.4995, allocations: 10.64 kB / 0.821 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.968e-05/0.4996, allocations: 53.61 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.4998, allocations: 152.1 kB / 0.8212 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4998, allocations: 0 / 0.8212 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4998, allocations: 10.56 kB / 0.8212 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.4998, allocations: 3.938 kB / 0.8212 GB, free: 15.94 MB / 0.6198 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.0004937/0.5003, allocations: 360.7 kB / 0.8215 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.5003, allocations: 10.41 kB / 0.8215 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.5004, allocations: 12.59 kB / 0.8215 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.715e-05/0.5005, allocations: 114.9 kB / 0.8217 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.5005, allocations: 4.844 kB / 0.8217 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.5005, allocations: 10.55 kB / 0.8217 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.5006, allocations: 54 kB / 0.8217 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.5006, allocations: 192 / 0.8217 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5006, allocations: 9.922 kB / 0.8217 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.5007, allocations: 4 kB / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.8e-05/0.5007, allocations: 17.91 kB / 0.8218 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.5011, allocations: 268.3 kB / 0.822 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.695e-05/0.5012, allocations: 31.73 kB / 0.822 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.473e-05/0.5012, allocations: 23.41 kB / 0.8221 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.5012, allocations: 0.75 kB / 0.8221 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.5014, allocations: 92.23 kB / 0.8221 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.5014, allocations: 0 / 0.8221 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002362/0.5016, allocations: 98.41 kB / 0.8222 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.5017, allocations: 59.02 kB / 0.8223 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.867e-05/0.5018, allocations: 119.3 kB / 0.8224 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.5018, allocations: 28.27 kB / 0.8224 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.5018, allocations: 94.06 kB / 0.8225 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.5019, allocations: 17.8 kB / 0.8225 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.5019, allocations: 53.8 kB / 0.8226 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.389e-05/0.502, allocations: 322.7 kB / 0.8229 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.5021, allocations: 116.3 kB / 0.823 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.5023, allocations: 156.2 kB / 0.8232 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.5024, allocations: 170.8 kB / 0.8233 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5024, allocations: 0 / 0.8233 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003328/0.5028, allocations: 325.3 kB / 0.8236 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/0.5028, allocations: 63.78 kB / 0.8237 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5028, allocations: 1.281 kB / 0.8237 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.5028, allocations: 2.719 kB / 0.8237 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.269e-05/0.5029, allocations: 10.27 kB / 0.8237 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5029, allocations: 6.469 kB / 0.8237 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.5031, allocations: 56.27 kB / 0.8238 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.5031, allocations: 11.14 kB / 0.8238 GB, free: 13.68 MB / 0.6198 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 9.384e-05/0.5032, allocations: 124.5 kB / 0.8239 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.5032, allocations: 11.11 kB / 0.8239 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.5032, allocations: 9.062 kB / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.5032, allocations: 1 kB / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5032, allocations: 5 kB / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5033, allocations: 0 / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.598e-05/0.5033, allocations: 118.7 kB / 0.824 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5033, allocations: 0 / 0.824 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-06/0.5033, allocations: 4.938 kB / 0.824 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.5033, allocations: 0 / 0.824 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.5034, allocations: 2.156 kB / 0.824 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5034, allocations: 0 / 0.824 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5034, allocations: 8 kB / 0.8241 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.5035, allocations: 121.1 kB / 0.8242 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-06/0.5035, allocations: 4 kB / 0.8242 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.5035, allocations: 2 kB / 0.8242 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.541e-05/0.5035, allocations: 4 kB / 0.8242 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.5035, allocations: 6.453 kB / 0.8242 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.5036, allocations: 5.047 kB / 0.8242 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.83e-05/0.5036, allocations: 94.27 kB / 0.8243 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5036, allocations: 2.344 kB / 0.8243 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001615/0.5038, allocations: 28.84 kB / 0.8243 GB, free: 13.21 MB / 0.6198 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.0001203/0.5039, allocations: 107 kB / 0.8244 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002786/0.5042, allocations: 282.3 kB / 0.8247 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5042, allocations: 0 / 0.8247 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.5042, allocations: 23.38 kB / 0.8247 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.5044, allocations: 17.05 kB / 0.8247 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.5047, allocations: 178.7 kB / 0.8249 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.916e-05/0.5047, allocations: 70.78 kB / 0.825 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.5048, allocations: 15.66 kB / 0.825 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/0.5048, allocations: 0 / 0.825 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of Templates: time 0.002999/0.5078, allocations: 1.404 MB / 0.8263 GB, free: 12.5 MB / 0.6198 GB " [Timeout remaining time 659] 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: 5.789989206008613] Failed to read output from testmodel.py, exit status != 0: 0.5163407097570598 0.5275674920000001 0.025613082000000002 Calling exit ...