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.0007104/0.0007104, allocations: 76.45 kB / 19.91 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.0007188/0.0007188, 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.8348/0.8348, allocations: 177.2 MB / 203.6 MB, free: 5.793 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: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.7053/0.7053, allocations: 155 MB / 415 MB, free: 480 kB / 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.0009036/0.0009036, allocations: 67.89 kB / 0.6199 GB, free: 12.71 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.4142/0.4151, allocations: 102 MB / 0.7195 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00144/0.4165, allocations: 0.6314 MB / 0.7201 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.4177, allocations: 1.211 MB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.4178, allocations: 0 / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.4178, allocations: 0.6094 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.288e-05/0.4179, allocations: 20.14 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000613/0.4185, allocations: 212 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.4187, allocations: 177.6 kB / 0.7217 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.4188, allocations: 8.828 kB / 0.7217 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.419, allocations: 97.56 kB / 0.7218 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.4191, allocations: 56.5 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.4191, allocations: 18.12 kB / 0.7219 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.239e-05/0.4192, allocations: 24.42 kB / 0.7219 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.4192, allocations: 13.09 kB / 0.7219 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.817e-05/0.4193, allocations: 51.64 kB / 0.7219 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.4195, allocations: 190.7 kB / 0.7221 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4195, allocations: 4 kB / 0.7221 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.525e-06/0.4195, allocations: 1.094 kB / 0.7221 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.4195, allocations: 0 / 0.7221 GB, free: 21.84 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.000405/0.4199, allocations: 358.5 kB / 0.7225 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.42, allocations: 11.19 kB / 0.7225 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.42, allocations: 12.02 kB / 0.7225 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.079e-05/0.4201, allocations: 115 kB / 0.7226 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.4201, allocations: 9.828 kB / 0.7226 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.4201, allocations: 17.89 kB / 0.7226 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.4202, allocations: 53.95 kB / 0.7227 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.4202, allocations: 192 / 0.7227 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4203, allocations: 9.094 kB / 0.7227 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4203, allocations: 0.9844 kB / 0.7227 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.305e-05/0.4203, allocations: 14.19 kB / 0.7227 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.4206, allocations: 269.8 kB / 0.723 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.786e-05/0.4207, allocations: 33.98 kB / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.4207, allocations: 19.28 kB / 0.723 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.4207, allocations: 1.156 kB / 0.723 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.4209, allocations: 77.55 kB / 0.7231 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.4209, allocations: 0 / 0.7231 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002386/0.4211, allocations: 113 kB / 0.7232 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.4212, allocations: 54.72 kB / 0.7232 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.503e-05/0.4212, allocations: 115.5 kB / 0.7234 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.4212, allocations: 34.55 kB / 0.7234 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.4213, allocations: 93.92 kB / 0.7235 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.4213, allocations: 11.34 kB / 0.7235 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/0.4214, allocations: 53.23 kB / 0.7235 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.478e-05/0.4214, allocations: 319.2 kB / 0.7238 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.4215, allocations: 121.1 kB / 0.724 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.4216, allocations: 154.4 kB / 0.7241 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.4217, allocations: 172 kB / 0.7243 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4217, allocations: 0 / 0.7243 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003077/0.422, allocations: 320.4 kB / 0.7246 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.4221, allocations: 68.09 kB / 0.7246 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4221, allocations: 1.125 kB / 0.7246 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4221, allocations: 2.188 kB / 0.7246 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.063e-05/0.4221, allocations: 3.141 kB / 0.7247 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.4221, allocations: 6.875 kB / 0.7247 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.4223, allocations: 56.39 kB / 0.7247 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.4224, allocations: 14.89 kB / 0.7247 GB, free: 19.59 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 6.383e-05/0.4224, allocations: 128.4 kB / 0.7248 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-06/0.4224, allocations: 7.984 kB / 0.7249 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.4225, allocations: 10.38 kB / 0.7249 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4225, allocations: 5.094 kB / 0.7249 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4225, allocations: 1.031 kB / 0.7249 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4225, allocations: 0.6094 kB / 0.7249 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.507e-05/0.4225, allocations: 120.1 kB / 0.725 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.4225, allocations: 1.125 kB / 0.725 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-06/0.4226, allocations: 5.891 kB / 0.725 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4226, allocations: 1.094 kB / 0.725 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.4226, allocations: 2.359 kB / 0.725 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4226, allocations: 4.062 kB / 0.725 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4226, allocations: 1.125 kB / 0.725 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.4227, allocations: 122.4 kB / 0.7251 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.4227, allocations: 2.781 kB / 0.7251 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.4227, allocations: 2.062 kB / 0.7251 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.22e-05/0.4227, allocations: 2.094 kB / 0.7251 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.4227, allocations: 9.109 kB / 0.7251 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.4228, allocations: 7.344 kB / 0.7251 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.499e-05/0.4228, allocations: 91.19 kB / 0.7252 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4228, allocations: 0 / 0.7252 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001789/0.423, allocations: 27.19 kB / 0.7253 GB, free: 19.12 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.0001105/0.4231, allocations: 115.3 kB / 0.7254 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.4233, allocations: 280.6 kB / 0.7256 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4233, allocations: 0 / 0.7256 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.901e-05/0.4234, allocations: 26.44 kB / 0.7257 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.4235, allocations: 24.58 kB / 0.7257 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.4238, allocations: 186.2 kB / 0.7259 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.139e-05/0.4239, allocations: 74.41 kB / 0.7259 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/0.4239, allocations: 13 kB / 0.7259 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of SimCode: time 7.82e-07/0.4239, allocations: 0 / 0.7259 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of Templates: time 0.002892/0.4268, allocations: 1.405 MB / 0.7273 GB, free: 18.4 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.476942317094654] Failed to read output from testmodel.py, exit status != 0: 0.4326242939569056 0.44105427 0.019615897 Calling exit ...