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.0007243/0.0007243, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007154/0.0007154, allocations: 203.2 kB / 23 MB, free: 3.113 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.8805/0.8805, allocations: 230.6 MB / 256.8 MB, free: 3.488 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.7421/0.7421, allocations: 203.8 MB / 0.5049 GB, free: 0.7812 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.001044/0.001044, allocations: 71.88 kB / 0.7195 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5009/0.5019, allocations: 102 MB / 0.8191 GB, free: 25.28 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001757/0.5037, allocations: 0.6471 MB / 0.8197 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.5051, allocations: 1.228 MB / 0.8209 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.162e-05/0.5052, allocations: 0.5938 kB / 0.8209 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.5052, allocations: 5.609 kB / 0.8209 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.57e-05/0.5053, allocations: 12.02 kB / 0.8209 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005632/0.5058, allocations: 220.1 kB / 0.8212 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.5061, allocations: 172.8 kB / 0.8213 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.5062, allocations: 5.25 kB / 0.8213 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.5063, allocations: 71.8 kB / 0.8214 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.5064, allocations: 60.31 kB / 0.8214 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.5064, allocations: 15.44 kB / 0.8215 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.512e-05/0.5065, allocations: 34.67 kB / 0.8215 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.5065, allocations: 12.73 kB / 0.8215 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.584e-05/0.5066, allocations: 56.66 kB / 0.8216 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.5069, allocations: 150.8 kB / 0.8217 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.5069, allocations: 0 / 0.8217 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5069, allocations: 1.312 kB / 0.8217 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.627e-06/0.5069, allocations: 1.094 kB / 0.8217 GB, free: 23.66 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.0004496/0.5074, allocations: 362.1 kB / 0.8221 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.5074, allocations: 11.75 kB / 0.8221 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.5075, allocations: 15.64 kB / 0.8221 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.155e-05/0.5075, allocations: 111.6 kB / 0.8222 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.5075, allocations: 6.797 kB / 0.8222 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.5076, allocations: 9.531 kB / 0.8222 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.5077, allocations: 51.53 kB / 0.8223 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.5077, allocations: 192 / 0.8223 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.5077, allocations: 5.25 kB / 0.8223 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.5077, allocations: 1.438 kB / 0.8223 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.594e-05/0.5077, allocations: 24.05 kB / 0.8223 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.5082, allocations: 325.6 kB / 0.8226 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/0.5082, allocations: 33.66 kB / 0.8226 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/0.5083, allocations: 19.22 kB / 0.8226 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.5083, allocations: 1.312 kB / 0.8226 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.5084, allocations: 88.95 kB / 0.8227 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.5084, allocations: 0 / 0.8227 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002056/0.5086, allocations: 104 kB / 0.8228 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.5087, allocations: 53.19 kB / 0.8229 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.64e-05/0.5087, allocations: 120.5 kB / 0.823 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.5087, allocations: 30.61 kB / 0.823 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.5088, allocations: 95.17 kB / 0.8231 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.5088, allocations: 18.66 kB / 0.8231 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.786e-05/0.5089, allocations: 53.38 kB / 0.8232 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.702e-05/0.5089, allocations: 322.6 kB / 0.8235 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.509, allocations: 56.03 kB / 0.8235 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.5091, allocations: 93.31 kB / 0.8236 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.5093, allocations: 158.5 kB / 0.8238 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5093, allocations: 0.7188 kB / 0.8238 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003266/0.5096, allocations: 260.8 kB / 0.824 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.5096, allocations: 69.06 kB / 0.8241 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5096, allocations: 5.531 kB / 0.8241 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.5097, allocations: 1.25 kB / 0.8241 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.124e-05/0.5097, allocations: 11.27 kB / 0.8241 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.5097, allocations: 1.938 kB / 0.8241 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.5099, allocations: 55.55 kB / 0.8242 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.5099, allocations: 16.5 kB / 0.8242 GB, free: 21.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 6.555e-05/0.51, allocations: 124.1 kB / 0.8243 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.51, allocations: 12 kB / 0.8243 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.51, allocations: 10.36 kB / 0.8243 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.51, allocations: 1.344 kB / 0.8243 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.51, allocations: 0 / 0.8243 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5101, allocations: 1.391 kB / 0.8243 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.021e-05/0.5101, allocations: 153.8 kB / 0.8245 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.5101, allocations: 0 / 0.8245 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.373e-06/0.5102, allocations: 6.125 kB / 0.8245 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.5102, allocations: 5.078 kB / 0.8245 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.5102, allocations: 2.125 kB / 0.8245 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.5102, allocations: 1.031 kB / 0.8245 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5102, allocations: 4 kB / 0.8245 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.5103, allocations: 116.1 kB / 0.8246 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.5103, allocations: 3.281 kB / 0.8246 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.5103, allocations: 1.109 kB / 0.8246 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.894e-05/0.5103, allocations: 5.688 kB / 0.8246 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.5104, allocations: 5.859 kB / 0.8246 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.5104, allocations: 3.141 kB / 0.8246 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.5104, allocations: 94.14 kB / 0.8247 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5104, allocations: 0.5 kB / 0.8247 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001885/0.5106, allocations: 31.52 kB / 0.8247 GB, free: 21.07 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.0001237/0.5107, allocations: 104.4 kB / 0.8248 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.511, allocations: 220.5 kB / 0.8251 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.511, allocations: 0 / 0.8251 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.718e-05/0.511, allocations: 24.5 kB / 0.8251 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.5112, allocations: 20.62 kB / 0.8251 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.5115, allocations: 183.8 kB / 0.8253 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.771e-05/0.5116, allocations: 0.6855 MB / 0.8259 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.5116, allocations: 11.41 kB / 0.8259 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.5116, allocations: 0 / 0.8259 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of Templates: time 0.002706/0.5143, allocations: 1.395 MB / 0.8273 GB, free: 19.8 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.575941042974591] Failed to read output from testmodel.py, exit status != 0: 0.5204929348547012 0.529865803 0.020979541 Calling exit ...