Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.0009348/0.0009348, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001019/0.001019, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.101/1.101, allocations: 177.2 MB / 203.8 MB, free: 5.461 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-535:34: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-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 master/package.mo): time 0.8071/0.8071, allocations: 154.9 MB / 415.1 MB, free: 192 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.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 0 / 480.4 MB, free: 6.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.635e-05, allocations: 2.312 kB / 480.4 MB, free: 6.516 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002897/0.002934, allocations: 0.6398 MB / 481 MB, free: 5.91 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.004637, allocations: 1.172 MB / 482.2 MB, free: 4.734 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.004684, allocations: 0 / 482.2 MB, free: 4.734 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.522e-05/0.004719, allocations: 5.219 kB / 482.2 MB, free: 4.73 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.395e-05/0.004803, allocations: 6.172 kB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.005304, allocations: 124.9 kB / 482.3 MB, free: 4.605 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.005487, allocations: 89.83 kB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.573e-05/0.005573, allocations: 9.656 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.005687, allocations: 45.92 kB / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.005796, allocations: 32.44 kB / 482.5 MB, free: 4.449 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.00582, allocations: 8 kB / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-05/0.005904, allocations: 24.69 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.005926, allocations: 8.531 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.005971, allocations: 25.84 kB / 482.6 MB, free: 4.387 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.006126, allocations: 78.28 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.006129, allocations: 0 / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.006131, allocations: 0.7812 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.006135, allocations: 0 / 482.6 MB, free: 4.312 MB / 442.7 MB 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.0003748/0.00651, allocations: 278.3 kB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.006549, allocations: 9.906 kB / 482.9 MB, free: 4.004 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.006591, allocations: 8.922 kB / 482.9 MB, free: 3.996 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.006965, allocations: 109.7 kB / 483 MB, free: 3.863 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.006993, allocations: 10.12 kB / 483 MB, free: 3.855 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.00701, allocations: 8.312 kB / 483.1 MB, free: 3.848 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.507e-05/0.007105, allocations: 47.58 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.007114, allocations: 0.8125 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.007121, allocations: 384 / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.007127, allocations: 1.875 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.693e-05/0.007154, allocations: 13.33 kB / 483.1 MB, free: 3.781 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.007435, allocations: 156.9 kB / 483.3 MB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.318e-05/0.007488, allocations: 31.17 kB / 483.3 MB, free: 3.574 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.007503, allocations: 5.453 kB / 483.3 MB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.00751, allocations: 0 / 483.3 MB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.837e-05/0.007609, allocations: 60.22 kB / 483.4 MB, free: 3.496 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.00761, allocations: 0 / 483.4 MB, free: 3.496 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001376/0.007748, allocations: 69.45 kB / 483.4 MB, free: 3.426 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.007783, allocations: 51.41 kB / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.00786, allocations: 110.7 kB / 483.6 MB, free: 3.242 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.007882, allocations: 29.7 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/0.007922, allocations: 84.12 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.007935, allocations: 8.703 kB / 483.7 MB, free: 3.113 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.008002, allocations: 29.69 kB / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.008094, allocations: 319.8 kB / 484 MB, free: 2.758 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.473e-05/0.008159, allocations: 49.69 kB / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-05/0.008228, allocations: 73.55 kB / 484.2 MB, free: 2.617 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.734e-05/0.008315, allocations: 77.41 kB / 484.2 MB, free: 2.527 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008318, allocations: 0 / 484.2 MB, free: 2.527 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001769/0.008495, allocations: 145.6 kB / 484.4 MB, free: 2.367 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.008532, allocations: 34.78 kB / 484.4 MB, free: 2.328 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.008539, allocations: 4.984 kB / 484.4 MB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.008555, allocations: 3.938 kB / 484.4 MB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.085e-05/0.008606, allocations: 8.656 kB / 484.4 MB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.008609, allocations: 400 / 484.4 MB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.008745, allocations: 17.67 kB / 484.5 MB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.008765, allocations: 7.984 kB / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 8.326e-05/0.008848, allocations: 117.8 kB / 484.6 MB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.00886, allocations: 5.938 kB / 484.6 MB, free: 2.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.008886, allocations: 8 kB / 484.6 MB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.00889, allocations: 4.703 kB / 484.6 MB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.008892, allocations: 1.078 kB / 484.6 MB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.008897, allocations: 7.984 kB / 484.6 MB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.097e-05/0.008988, allocations: 70.47 kB / 484.7 MB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.00899, allocations: 1 kB / 484.7 MB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/0.00901, allocations: 4 kB / 484.7 MB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.009013, allocations: 0 / 484.7 MB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.009019, allocations: 8.609 kB / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.00902, allocations: 0 / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.009025, allocations: 5.297 kB / 484.7 MB, free: 2.039 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.497e-05/0.00912, allocations: 73.06 kB / 484.8 MB, free: 1.949 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.009129, allocations: 4.844 kB / 484.8 MB, free: 1.945 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.009141, allocations: 8 kB / 484.8 MB, free: 1.938 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.898e-05/0.00916, allocations: 5.016 kB / 484.8 MB, free: 1.934 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-05/0.009183, allocations: 0 / 484.8 MB, free: 1.934 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.009192, allocations: 8.438 kB / 484.8 MB, free: 1.926 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.844e-05/0.00921, allocations: 12.84 kB / 484.8 MB, free: 1.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00921, allocations: 0.5 kB / 484.8 MB, free: 1.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.009423, allocations: 21.16 kB / 484.8 MB, free: 1.891 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0001332/0.009556, allocations: 84.41 kB / 484.9 MB, free: 1.801 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.00973, allocations: 134.8 kB / 485 MB, free: 1.648 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.009734, allocations: 1.219 kB / 485 MB, free: 1.648 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.607e-05/0.00976, allocations: 17.5 kB / 485.1 MB, free: 1.629 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.009901, allocations: 12.47 kB / 485.1 MB, free: 1.617 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.01016, allocations: 114.3 kB / 485.2 MB, free: 1.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.697e-05/0.01019, allocations: 59.3 kB / 485.2 MB, free: 1.402 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.375e-05/0.01022, allocations: 4.531 kB / 485.2 MB, free: 1.398 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.794e-05/0.01032, allocations: 71.34 kB / 485.3 MB, free: 1.328 MB / 442.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01032, allocations: 0.875 kB / 485.3 MB, free: 1.328 MB / 442.7 MB Notification: Performance of Templates: time 0.00375/0.01407, allocations: 1.276 MB / 486.6 MB, free: 144 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7801279448904097]