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.0007679/0.0007679, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008857/0.001654, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007082/0.0007082, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00085/0.001558, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9684/0.9684, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09556/1.064, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7655/0.7655, allocations: 155.3 MB / 399.2 MB, free: 15.94 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.276/1.041, allocations: 49.13 MB / 448.4 MB, free: 6.031 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 2.945e-06/2.945e-06, allocations: 0 / 449.7 MB, free: 4.746 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.374e-05, allocations: 2.312 kB / 449.7 MB, free: 4.742 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001528/0.001552, allocations: 0.687 MB / 450.4 MB, free: 4.09 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.002755, allocations: 1.245 MB / 451.6 MB, free: 2.836 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.002787, allocations: 4 kB / 451.6 MB, free: 2.832 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.002808, allocations: 3.938 kB / 451.6 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.002846, allocations: 4.703 kB / 451.6 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.003213, allocations: 208.8 kB / 451.8 MB, free: 2.625 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.0034, allocations: 174 kB / 452 MB, free: 2.469 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.061e-05/0.003471, allocations: 8.625 kB / 452 MB, free: 2.461 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.003578, allocations: 106.9 kB / 452.1 MB, free: 2.363 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.528e-05/0.003673, allocations: 47.47 kB / 452.2 MB, free: 2.32 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.003699, allocations: 16 kB / 452.2 MB, free: 2.305 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.675e-05/0.003775, allocations: 28.53 kB / 452.2 MB, free: 2.277 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.003795, allocations: 14.17 kB / 452.2 MB, free: 2.266 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.003839, allocations: 35.94 kB / 452.3 MB, free: 2.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.003976, allocations: 100.7 kB / 452.4 MB, free: 2.133 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.316e-05/0.00399, allocations: 0 / 452.4 MB, free: 2.133 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.003991, allocations: 0 / 452.4 MB, free: 2.133 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.004004, allocations: 0.875 kB / 452.4 MB, free: 2.133 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.0003819/0.004386, allocations: 353.9 kB / 452.7 MB, free: 1.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.664e-05/0.004413, allocations: 8.531 kB / 452.7 MB, free: 1.742 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.004451, allocations: 13.42 kB / 452.7 MB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.337e-05/0.004524, allocations: 117.6 kB / 452.8 MB, free: 1.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.004536, allocations: 5.656 kB / 452.8 MB, free: 1.586 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.004553, allocations: 12.38 kB / 452.9 MB, free: 1.574 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.082e-05/0.004614, allocations: 42.23 kB / 452.9 MB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.00462, allocations: 0.875 kB / 452.9 MB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.004626, allocations: 4.375 kB / 452.9 MB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.00463, allocations: 2.344 kB / 452.9 MB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.652e-05/0.004647, allocations: 11.92 kB / 452.9 MB, free: 1.512 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.004879, allocations: 176.2 kB / 453.1 MB, free: 1.324 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.505e-05/0.004934, allocations: 30.62 kB / 453.1 MB, free: 1.285 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.375e-05/0.004948, allocations: 9.422 kB / 453.1 MB, free: 1.273 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-06/0.004952, allocations: 0 / 453.1 MB, free: 1.273 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.888e-05/0.005041, allocations: 84.02 kB / 453.2 MB, free: 1.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.005042, allocations: 1.656 kB / 453.2 MB, free: 1.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001112/0.005153, allocations: 73.55 kB / 453.3 MB, free: 1.102 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.005186, allocations: 59.41 kB / 453.3 MB, free: 1.031 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.437e-05/0.00525, allocations: 126.6 kB / 453.5 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.005269, allocations: 31.14 kB / 453.5 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.005305, allocations: 92.12 kB / 453.6 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/0.005315, allocations: 11.91 kB / 453.6 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.005374, allocations: 45.66 kB / 453.6 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.109e-05/0.005456, allocations: 319.7 kB / 454 MB, free: 392 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.441e-05/0.00553, allocations: 99.38 kB / 454 MB, free: 280 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.393e-05/0.005624, allocations: 140.2 kB / 454.2 MB, free: 112 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.005751, allocations: 142.8 kB / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.005754, allocations: 3.938 kB / 454.3 MB, free: 15.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002004/0.005954, allocations: 265.8 kB / 454.6 MB, free: 15.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.006002, allocations: 67.39 kB / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.00601, allocations: 10.03 kB / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.006019, allocations: 0 / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.97e-05/0.006039, allocations: 4 kB / 454.7 MB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006041, allocations: 0 / 454.7 MB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.006198, allocations: 48.81 kB / 454.7 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.006214, allocations: 4 kB / 454.7 MB, free: 15.51 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 7.109e-05/0.006285, allocations: 132.5 kB / 454.8 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.006294, allocations: 5.188 kB / 454.9 MB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.006322, allocations: 16.38 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.006324, allocations: 3.422 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.006327, allocations: 0.625 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.006331, allocations: 3.984 kB / 454.9 MB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.176e-05/0.006393, allocations: 78.42 kB / 455 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.006394, allocations: 0.6562 kB / 455 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-06/0.006399, allocations: 3.984 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-06/0.006405, allocations: 8.484 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.006407, allocations: 0.5625 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-06/0.00641, allocations: 0 / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.006412, allocations: 4.562 kB / 455 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.006413, allocations: 320 / 455 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.984e-05/0.006483, allocations: 89.84 kB / 455.1 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-06/0.006491, allocations: 0 / 455.1 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-06/0.006501, allocations: 5.219 kB / 455.1 MB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.006525, allocations: 7.922 kB / 455.1 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.006529, allocations: 4 kB / 455.1 MB, free: 15.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.73e-05/0.006546, allocations: 21.55 kB / 455.1 MB, free: 15.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006546, allocations: 0 / 455.1 MB, free: 15.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001252/0.006672, allocations: 28.91 kB / 455.1 MB, free: 15.07 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 9.572e-05/0.006767, allocations: 85.41 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.006961, allocations: 259.6 kB / 455.5 MB, free: 14.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.006966, allocations: 0 / 455.5 MB, free: 14.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.598e-05/0.006992, allocations: 26.09 kB / 455.5 MB, free: 14.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.007108, allocations: 28.86 kB / 455.5 MB, free: 14.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.00752, allocations: 150.4 kB / 455.7 MB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.252e-05/0.007553, allocations: 63.2 kB / 455.7 MB, free: 14.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.01e-05/0.007573, allocations: 6.406 kB / 455.7 MB, free: 14.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.176e-05/0.007664, allocations: 80.39 kB / 455.8 MB, free: 14.3 MB / 442.7 MB Notification: Performance of SimCode: time 6.62e-07/0.007665, allocations: 0 / 455.8 MB, free: 14.3 MB / 442.7 MB Notification: Performance of Templates: time 0.003504/0.01117, allocations: 2.291 MB / 458.1 MB, free: 12.18 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.6179155157878995]