Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.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.001675/0.001675, allocations: 82.64 kB / 19.16 MB, free: 2.539 MB / 14.72 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.002055/0.002055, allocations: 160.6 kB / 22.44 MB, free: 5.352 MB / 14.72 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 1.411/1.411, allocations: 177.2 MB / 202.8 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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 1.152/1.152, allocations: 155 MB / 414.2 MB, free: 4.945 MB / 382.1 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 178] 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.Not,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not") [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.002116/0.002116, allocations: 74.45 kB / 0.6191 GB, free: 4.176 MB / 0.5294 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.5647/0.5668, allocations: 102 MB / 0.7187 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Not): time 0.001715/0.5685, allocations: 0.605 MB / 0.7193 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.5697, allocations: 1.136 MB / 0.7204 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.5698, allocations: 1.469 kB / 0.7204 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.5698, allocations: 4.5 kB / 0.7204 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/0.5699, allocations: 9.828 kB / 0.7204 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.5703, allocations: 115.3 kB / 0.7206 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.5705, allocations: 90.34 kB / 0.7206 GB, free: 488 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.859e-05/0.5706, allocations: 10.7 kB / 0.7207 GB, free: 480 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.415e-05/0.5707, allocations: 50.2 kB / 0.7207 GB, free: 456 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.845e-05/0.5708, allocations: 28.09 kB / 0.7207 GB, free: 448 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.5708, allocations: 6.531 kB / 0.7207 GB, free: 448 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.329e-05/0.5708, allocations: 24.75 kB / 0.7208 GB, free: 440 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.5709, allocations: 2.344 kB / 0.7208 GB, free: 440 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.5709, allocations: 30.86 kB / 0.7208 GB, free: 424 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.5711, allocations: 100.5 kB / 0.7209 GB, free: 384 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.5711, allocations: 1.594 kB / 0.7209 GB, free: 384 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5711, allocations: 0 / 0.7209 GB, free: 384 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.5711, allocations: 0 / 0.7209 GB, free: 384 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003693/0.5715, allocations: 300.3 kB / 0.7212 GB, free: 72 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5715, allocations: 8.406 kB / 0.7212 GB, free: 72 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.5715, allocations: 13.36 kB / 0.7212 GB, free: 64 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.5716, allocations: 115.4 kB / 0.7213 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.5717, allocations: 2.312 kB / 0.7213 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.5717, allocations: 4.594 kB / 0.7213 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.561e-05/0.5718, allocations: 44.31 kB / 0.7214 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.5718, allocations: 192 / 0.7214 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.5718, allocations: 5.062 kB / 0.7214 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.5718, allocations: 0 / 0.7214 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.587e-05/0.5718, allocations: 10.83 kB / 0.7214 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.5722, allocations: 223.7 kB / 0.7216 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 4.732e-05/0.5722, allocations: 20.55 kB / 0.7216 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.5723, allocations: 10.86 kB / 0.7216 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.5723, allocations: 2.234 kB / 0.7216 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.5724, allocations: 61.16 kB / 0.7217 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.5724, allocations: 0 / 0.7217 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0001901/0.5726, allocations: 67.66 kB / 0.7217 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.5727, allocations: 53.69 kB / 0.7218 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.5727, allocations: 104 kB / 0.7219 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.5728, allocations: 31.53 kB / 0.7219 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.5728, allocations: 84.64 kB / 0.722 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.809e-06/0.5728, allocations: 4.984 kB / 0.722 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/0.5729, allocations: 31.06 kB / 0.722 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.573, allocations: 317.2 kB / 0.7223 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.5731, allocations: 60.28 kB / 0.7224 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.5732, allocations: 80.84 kB / 0.7225 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.5734, allocations: 84.19 kB / 0.7226 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5734, allocations: 4.797 kB / 0.7226 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002751/0.5736, allocations: 179.5 kB / 0.7227 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.5737, allocations: 34.95 kB / 0.7228 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5737, allocations: 1.125 kB / 0.7228 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.5737, allocations: 1.125 kB / 0.7228 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.594e-05/0.5737, allocations: 2.141 kB / 0.7228 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.5737, allocations: 5.25 kB / 0.7228 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.5739, allocations: 33.34 kB / 0.7228 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.5739, allocations: 13.92 kB / 0.7228 GB, free: 14.54 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.255e-05/0.574, allocations: 120.7 kB / 0.7229 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.574, allocations: 4.812 kB / 0.7229 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.5741, allocations: 10.55 kB / 0.7229 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5741, allocations: 0 / 0.7229 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5741, allocations: 1.5 kB / 0.7229 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5741, allocations: 4.656 kB / 0.723 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.344e-05/0.5742, allocations: 101.2 kB / 0.723 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.5742, allocations: 4.938 kB / 0.7231 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-06/0.5742, allocations: 0.8438 kB / 0.7231 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.5742, allocations: 0.6562 kB / 0.7231 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.5742, allocations: 4.688 kB / 0.7231 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5742, allocations: 1.297 kB / 0.7231 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5742, allocations: 1.125 kB / 0.7231 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.5743, allocations: 78.03 kB / 0.7231 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.5743, allocations: 13.2 kB / 0.7231 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.5743, allocations: 1.312 kB / 0.7231 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.391e-05/0.5743, allocations: 5.312 kB / 0.7232 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.5744, allocations: 2.484 kB / 0.7232 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.5744, allocations: 2.266 kB / 0.7232 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.053e-05/0.5744, allocations: 84.52 kB / 0.7232 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.5744, allocations: 0 / 0.7232 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002048/0.5746, allocations: 14.94 kB / 0.7233 GB, free: 14.11 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001504/0.5748, allocations: 96.11 kB / 0.7233 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.575, allocations: 137.8 kB / 0.7235 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.575, allocations: 8.125 kB / 0.7235 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.175e-05/0.575, allocations: 11.33 kB / 0.7235 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.5752, allocations: 14.91 kB / 0.7235 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.5756, allocations: 123.2 kB / 0.7236 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.132e-05/0.5756, allocations: 61.97 kB / 0.7237 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.869e-05/0.5756, allocations: 3.188 kB / 0.7237 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.5757, allocations: 9.688 kB / 0.7237 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.5757, allocations: 0 / 0.7237 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of Templates: time 0.004071/0.5798, allocations: 1.16 MB / 0.7248 GB, free: 13.55 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.08879666402936] Failed to read output from testmodel.py, exit status != 0: 0.588623508810997 0.6025416729999999 0.028462295000000002 Calling exit ...