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.0006892/0.0006892, allocations: 100.4 kB / 19.7 MB, free: 452 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.0006856/0.0006856, allocations: 215.8 kB / 23 MB, free: 2.977 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.817/0.817, allocations: 230.6 MB / 256.8 MB, free: 9.645 MB / 202.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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7059/0.7059, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [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.0008268/0.0008268, allocations: 65.67 kB / 0.7194 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4165, allocations: 102 MB / 0.819 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00126/0.4177, allocations: 0.6433 MB / 0.8196 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009604/0.4187, allocations: 1.212 MB / 0.8208 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.4187, allocations: 3.5 kB / 0.8208 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.293e-05/0.4187, allocations: 4.641 kB / 0.8208 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.219e-05/0.4188, allocations: 5.438 kB / 0.8208 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.4193, allocations: 222.5 kB / 0.8211 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.4195, allocations: 172.6 kB / 0.8212 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.907e-05/0.4196, allocations: 1.547 kB / 0.8212 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.321e-05/0.4197, allocations: 70.67 kB / 0.8213 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.4198, allocations: 62.19 kB / 0.8213 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.4198, allocations: 15.56 kB / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.81e-05/0.4198, allocations: 21.8 kB / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.4199, allocations: 15.03 kB / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.425e-05/0.4199, allocations: 55.31 kB / 0.8214 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.4201, allocations: 154.2 kB / 0.8216 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4201, allocations: 0 / 0.8216 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4201, allocations: 0 / 0.8216 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.4201, allocations: 0 / 0.8216 GB, free: 15.72 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.0004117/0.4205, allocations: 359.1 kB / 0.8219 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.4206, allocations: 8.375 kB / 0.8219 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.4206, allocations: 16.81 kB / 0.822 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.156e-05/0.4207, allocations: 115.2 kB / 0.8221 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.4207, allocations: 5.547 kB / 0.8221 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.4208, allocations: 13.31 kB / 0.8221 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.564e-05/0.4208, allocations: 50 kB / 0.8221 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.4209, allocations: 1.344 kB / 0.8221 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4209, allocations: 5.016 kB / 0.8221 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.4209, allocations: 1.125 kB / 0.8221 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.193e-05/0.4209, allocations: 13.45 kB / 0.8222 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.4212, allocations: 272.3 kB / 0.8224 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.411e-05/0.4213, allocations: 33.64 kB / 0.8224 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.4213, allocations: 21.86 kB / 0.8225 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.4213, allocations: 3.984 kB / 0.8225 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.4215, allocations: 84.5 kB / 0.8226 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.893e-06/0.4215, allocations: 0 / 0.8226 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001918/0.4217, allocations: 114.2 kB / 0.8227 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.4217, allocations: 52.88 kB / 0.8227 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.614e-05/0.4218, allocations: 115.6 kB / 0.8228 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.4218, allocations: 36.31 kB / 0.8229 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.4218, allocations: 89 kB / 0.8229 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.4218, allocations: 18.97 kB / 0.823 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.4219, allocations: 49.48 kB / 0.823 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.189e-05/0.422, allocations: 317.8 kB / 0.8233 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.4221, allocations: 123.3 kB / 0.8234 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.4222, allocations: 157.9 kB / 0.8236 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.4223, allocations: 162.7 kB / 0.8237 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4223, allocations: 0 / 0.8237 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000303/0.4226, allocations: 328.8 kB / 0.824 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/0.4227, allocations: 72.08 kB / 0.8241 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.4227, allocations: 2 kB / 0.8241 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.4227, allocations: 2.625 kB / 0.8241 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.959e-05/0.4227, allocations: 8.109 kB / 0.8241 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4227, allocations: 1.219 kB / 0.8241 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.4229, allocations: 56.11 kB / 0.8242 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.423, allocations: 11.03 kB / 0.8242 GB, free: 13.47 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 7.385e-05/0.423, allocations: 140.4 kB / 0.8243 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.649e-06/0.423, allocations: 7.594 kB / 0.8243 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/0.4231, allocations: 6.562 kB / 0.8243 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4231, allocations: 1.469 kB / 0.8243 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4231, allocations: 0 / 0.8243 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4231, allocations: 1.031 kB / 0.8243 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.376e-05/0.4231, allocations: 120.8 kB / 0.8245 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4231, allocations: 0 / 0.8245 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-06/0.4232, allocations: 2.422 kB / 0.8245 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4232, allocations: 1.656 kB / 0.8245 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.4232, allocations: 4.656 kB / 0.8245 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4232, allocations: 1.562 kB / 0.8245 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4232, allocations: 0.75 kB / 0.8245 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.4233, allocations: 116.7 kB / 0.8246 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-06/0.4233, allocations: 3.531 kB / 0.8246 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.4233, allocations: 4.797 kB / 0.8246 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.46e-05/0.4233, allocations: 2.25 kB / 0.8246 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.4233, allocations: 6.359 kB / 0.8246 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.4233, allocations: 2.094 kB / 0.8246 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.4234, allocations: 90.23 kB / 0.8247 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.4234, allocations: 0 / 0.8247 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001578/0.4235, allocations: 40.59 kB / 0.8247 GB, free: 13 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.0001133/0.4236, allocations: 106.4 kB / 0.8248 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.4239, allocations: 279.6 kB / 0.8251 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4239, allocations: 1.125 kB / 0.8251 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.733e-05/0.4239, allocations: 24.7 kB / 0.8251 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.4241, allocations: 23.98 kB / 0.8251 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.4244, allocations: 187.1 kB / 0.8253 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.499e-05/0.4244, allocations: 70 kB / 0.8254 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.4245, allocations: 19.77 kB / 0.8254 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.4245, allocations: 0 / 0.8254 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.002315/0.4268, allocations: 1.398 MB / 0.8268 GB, free: 12.27 MB / 0.6198 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.239576792810112] Failed to read output from testmodel.py, exit status != 0: 0.43218320701271296 0.44220801899999995 0.020192902000000002 Calling exit ...