Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.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.0007655/0.0007655, allocations: 76.45 kB / 19.91 MB, free: 20 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.0007677/0.0007677, allocations: 169.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.8476/0.8476, allocations: 177.2 MB / 203.6 MB, free: 5.781 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.7088/0.7088, allocations: 155 MB / 415 MB, free: 496 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.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr") [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.0009555/0.0009555, allocations: 71.89 kB / 0.6199 GB, free: 12.69 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.3993/0.4002, allocations: 102 MB / 0.7195 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001374/0.4016, allocations: 0.7901 MB / 0.7203 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.4029, allocations: 1.5 MB / 0.7217 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.634e-05/0.403, allocations: 9.25 kB / 0.7217 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.4031, allocations: 16.86 kB / 0.7218 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.032e-05/0.4031, allocations: 37.91 kB / 0.7218 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008386/0.404, allocations: 0.5184 MB / 0.7223 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.4044, allocations: 485.2 kB / 0.7228 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.4045, allocations: 28.27 kB / 0.7228 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.4047, allocations: 259.6 kB / 0.723 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.4049, allocations: 160.5 kB / 0.7232 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.533e-05/0.4049, allocations: 40.34 kB / 0.7232 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.452e-05/0.405, allocations: 49.67 kB / 0.7233 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.4051, allocations: 42.33 kB / 0.7233 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.4052, allocations: 160.3 kB / 0.7235 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000421/0.4056, allocations: 0.4928 MB / 0.7239 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4056, allocations: 0.6094 kB / 0.7239 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4056, allocations: 0 / 0.7239 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.4056, allocations: 0 / 0.7239 GB, free: 20.87 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005229/0.4062, allocations: 0.568 MB / 0.7245 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.4062, allocations: 12.14 kB / 0.7245 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.345e-05/0.4063, allocations: 29.27 kB / 0.7245 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.4065, allocations: 209.5 kB / 0.7247 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.4065, allocations: 17.06 kB / 0.7248 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.4066, allocations: 34.11 kB / 0.7248 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.4068, allocations: 150.4 kB / 0.7249 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4068, allocations: 192 / 0.7249 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.4068, allocations: 10.61 kB / 0.7249 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.4068, allocations: 3.469 kB / 0.7249 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.4069, allocations: 89.41 kB / 0.725 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.4075, allocations: 0.5741 MB / 0.7256 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.4076, allocations: 82.06 kB / 0.7257 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.4076, allocations: 45.25 kB / 0.7257 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.4077, allocations: 1.375 kB / 0.7257 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.4079, allocations: 158.9 kB / 0.7259 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.4079, allocations: 0 / 0.7259 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0003579/0.4082, allocations: 251.4 kB / 0.7261 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.4083, allocations: 59.86 kB / 0.7262 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.4084, allocations: 181.5 kB / 0.7263 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.4084, allocations: 40.2 kB / 0.7264 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.4085, allocations: 127.8 kB / 0.7265 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.4085, allocations: 50.03 kB / 0.7265 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.4086, allocations: 114.5 kB / 0.7267 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.835e-05/0.4087, allocations: 329.2 kB / 0.727 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.4089, allocations: 307.6 kB / 0.7273 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.4092, allocations: 395.7 kB / 0.7276 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.4095, allocations: 414.6 kB / 0.728 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4095, allocations: 96 / 0.728 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006629/0.4101, allocations: 0.78 MB / 0.7288 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.028e-05/0.4102, allocations: 166.3 kB / 0.729 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4102, allocations: 2.312 kB / 0.729 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4102, allocations: 8.719 kB / 0.729 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.556e-05/0.4102, allocations: 11.22 kB / 0.729 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.4102, allocations: 4.641 kB / 0.729 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/0.4107, allocations: 144.2 kB / 0.7291 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.4107, allocations: 33.7 kB / 0.7291 GB, free: 17.07 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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 0.0001118/0.4108, allocations: 160.8 kB / 0.7293 GB, free: 16.94 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.4109, allocations: 15.95 kB / 0.7293 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.4109, allocations: 19.33 kB / 0.7293 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4109, allocations: 10.12 kB / 0.7293 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.4109, allocations: 0 / 0.7293 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4109, allocations: 2.453 kB / 0.7293 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.4113, allocations: 437 kB / 0.7298 GB, free: 16.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.4113, allocations: 0.6562 kB / 0.7298 GB, free: 16.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.237e-05/0.4113, allocations: 5.422 kB / 0.7298 GB, free: 16.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4113, allocations: 5.188 kB / 0.7298 GB, free: 16.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.4113, allocations: 7.188 kB / 0.7298 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.4113, allocations: 1.344 kB / 0.7298 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4113, allocations: 1.406 kB / 0.7298 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.4115, allocations: 287.7 kB / 0.7301 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.4115, allocations: 21.73 kB / 0.7301 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.4115, allocations: 2.469 kB / 0.7301 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.251e-05/0.4116, allocations: 7.25 kB / 0.7301 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.4116, allocations: 19.33 kB / 0.7301 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.4116, allocations: 6.781 kB / 0.7301 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.096e-05/0.4117, allocations: 126.1 kB / 0.7302 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4117, allocations: 0 / 0.7302 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002604/0.4119, allocations: 81.84 kB / 0.7303 GB, free: 16.28 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000118/0.4121, allocations: 114.4 kB / 0.7304 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005019/0.4126, allocations: 0.6954 MB / 0.7311 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4126, allocations: 1.406 kB / 0.7311 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.74e-05/0.4127, allocations: 69.95 kB / 0.7312 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.413, allocations: 57.03 kB / 0.7312 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004529/0.4134, allocations: 354.7 kB / 0.7316 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.968e-05/0.4135, allocations: 113.5 kB / 0.7317 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.4135, allocations: 25.28 kB / 0.7317 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/0.4135, allocations: 4 kB / 0.7317 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of Templates: time 0.004691/0.4182, allocations: 3.388 MB / 0.735 GB, free: 14.91 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.847658247919753] Failed to read output from testmodel.py, exit status != 0: 0.42377168009988964 0.43218463500000004 0.024738338000000002 Calling exit ...