Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.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.0006752/0.0006752, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009624/0.001638, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008943/0.0008943, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.002158, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9342/0.9342, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09301/1.027, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.8448/0.8448, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 NFInstanceAPI.mkTop(): time 0.2862/1.131, allocations: 49.14 MB / 448.6 MB, free: 5.891 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 450 MB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049e-05/1.231e-05, allocations: 2.312 kB / 450 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001142/0.001154, allocations: 0.6991 MB / 450.7 MB, free: 3.914 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.002252, allocations: 1.24 MB / 451.9 MB, free: 2.664 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.002283, allocations: 4.625 kB / 451.9 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.002303, allocations: 5.359 kB / 451.9 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.746e-05/0.00234, allocations: 8.859 kB / 451.9 MB, free: 2.652 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.002681, allocations: 208.5 kB / 452.1 MB, free: 2.449 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.002852, allocations: 174.3 kB / 452.3 MB, free: 2.297 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.721e-05/0.00294, allocations: 13.08 kB / 452.3 MB, free: 2.285 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.003068, allocations: 98.55 kB / 452.4 MB, free: 2.191 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.366e-05/0.003161, allocations: 45.23 kB / 452.4 MB, free: 2.148 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.003187, allocations: 18 kB / 452.5 MB, free: 2.133 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.117e-05/0.003259, allocations: 31.97 kB / 452.5 MB, free: 2.102 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.00328, allocations: 9.859 kB / 452.5 MB, free: 2.094 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.003325, allocations: 34.41 kB / 452.5 MB, free: 2.062 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.00347, allocations: 104.7 kB / 452.6 MB, free: 1.965 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.003479, allocations: 0.875 kB / 452.6 MB, free: 1.965 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.00348, allocations: 0 / 452.6 MB, free: 1.965 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.003487, allocations: 0 / 452.6 MB, free: 1.965 MB / 426.7 MB 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.0003807/0.003867, allocations: 353.9 kB / 453 MB, free: 1.582 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.003898, allocations: 8.031 kB / 453 MB, free: 1.574 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.003935, allocations: 13.83 kB / 453 MB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.422e-05/0.004019, allocations: 113.7 kB / 453.1 MB, free: 1.426 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.004031, allocations: 8.922 kB / 453.1 MB, free: 1.418 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.004052, allocations: 9.906 kB / 453.1 MB, free: 1.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.011e-05/0.004122, allocations: 42.23 kB / 453.2 MB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.004129, allocations: 192 / 453.2 MB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.004137, allocations: 4.375 kB / 453.2 MB, free: 1.359 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.004141, allocations: 5.469 kB / 453.2 MB, free: 1.355 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.591e-05/0.004157, allocations: 7.938 kB / 453.2 MB, free: 1.348 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.004405, allocations: 180.3 kB / 453.4 MB, free: 1.156 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.166e-05/0.004457, allocations: 36.36 kB / 453.4 MB, free: 1.113 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.153e-05/0.004468, allocations: 9.516 kB / 453.4 MB, free: 1.102 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-06/0.004474, allocations: 6.938 kB / 453.4 MB, free: 1.098 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.23e-05/0.004557, allocations: 71.41 kB / 453.5 MB, free: 1.016 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.004557, allocations: 0 / 453.5 MB, free: 1.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001165/0.004674, allocations: 81.53 kB / 453.6 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.004705, allocations: 55.41 kB / 453.6 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.319e-05/0.004768, allocations: 122.6 kB / 453.7 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.004788, allocations: 33.69 kB / 453.8 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.004841, allocations: 92.12 kB / 453.9 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.004854, allocations: 12.81 kB / 453.9 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.004907, allocations: 41.67 kB / 453.9 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.004979, allocations: 324.6 kB / 454.2 MB, free: 220 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.3e-05/0.005052, allocations: 99.38 kB / 454.3 MB, free: 108 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.981e-05/0.005141, allocations: 137.1 kB / 454.5 MB, free: 15.94 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.965e-05/0.005231, allocations: 142.2 kB / 454.6 MB, free: 15.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005233, allocations: 0.5312 kB / 454.6 MB, free: 15.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000178/0.005411, allocations: 262 kB / 454.9 MB, free: 15.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.005454, allocations: 67.39 kB / 454.9 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.005461, allocations: 11.92 kB / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.00547, allocations: 1.219 kB / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.624e-05/0.005487, allocations: 4 kB / 454.9 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.005489, allocations: 0 / 454.9 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.005643, allocations: 45.11 kB / 455 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.005661, allocations: 13.39 kB / 455 MB, free: 15.35 MB / 442.7 MB 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,or1.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.411e-05/0.005725, allocations: 125.8 kB / 455.1 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.005735, allocations: 9.953 kB / 455.1 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.005764, allocations: 16.38 kB / 455.2 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.005766, allocations: 0 / 455.2 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.005768, allocations: 1.094 kB / 455.2 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.005771, allocations: 0 / 455.2 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.316e-05/0.005834, allocations: 81.81 kB / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.005835, allocations: 1.438 kB / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-06/0.00584, allocations: 3.938 kB / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.005848, allocations: 7.953 kB / 455.2 MB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.005851, allocations: 5.766 kB / 455.3 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-06/0.005855, allocations: 0.8438 kB / 455.3 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.005856, allocations: 3.938 kB / 455.3 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.005857, allocations: 0.7812 kB / 455.3 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.781e-05/0.005925, allocations: 89.03 kB / 455.3 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.005935, allocations: 4.875 kB / 455.3 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.053e-05/0.005946, allocations: 0 / 455.3 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.005969, allocations: 7.922 kB / 455.4 MB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.005976, allocations: 9.062 kB / 455.4 MB, free: 14.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.514e-05/0.005991, allocations: 17.3 kB / 455.4 MB, free: 14.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005991, allocations: 4.625 kB / 455.4 MB, free: 14.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001257/0.006116, allocations: 24 kB / 455.4 MB, free: 14.9 MB / 442.7 MB 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,or1.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 8.817e-05/0.006205, allocations: 89.66 kB / 455.5 MB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.006392, allocations: 256.1 kB / 455.7 MB, free: 14.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.006396, allocations: 3.984 kB / 455.8 MB, free: 14.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.442e-05/0.00642, allocations: 25.41 kB / 455.8 MB, free: 14.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.006553, allocations: 131.6 kB / 455.9 MB, free: 14.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.006915, allocations: 154.7 kB / 456.1 MB, free: 14.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.943e-05/0.006945, allocations: 63.2 kB / 456.1 MB, free: 14.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.921e-05/0.006964, allocations: 6.406 kB / 456.1 MB, free: 14.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.188e-05/0.007056, allocations: 79.34 kB / 456.2 MB, free: 14 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.007057, allocations: 0.9375 kB / 456.2 MB, free: 14 MB / 442.7 MB Notification: Performance of Templates: time 0.003535/0.01059, allocations: 2.242 MB / 458.4 MB, free: 11.91 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.543702873401344]