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.001047/0.001047, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001161/0.001161, allocations: 177 kB / 23.36 MB, free: 1.129 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.9865/0.9865, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.8237/0.8237, allocations: 154.9 MB / 415.1 MB, free: 228 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 2.094e-06/2.094e-06, allocations: 0 / 480.3 MB, free: 6.574 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.227e-05, allocations: 2.312 kB / 480.3 MB, free: 6.57 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001654/0.001676, allocations: 0.5942 MB / 480.9 MB, free: 6.012 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.00316, allocations: 1.172 MB / 482.1 MB, free: 4.836 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.003201, allocations: 0.625 kB / 482.1 MB, free: 4.836 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.003235, allocations: 3.938 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.611e-05/0.003312, allocations: 12.11 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.003764, allocations: 120.1 kB / 482.2 MB, free: 4.707 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.003931, allocations: 95.66 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.684e-05/0.004008, allocations: 5.641 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.004113, allocations: 49.72 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.387e-05/0.004207, allocations: 27.17 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.00423, allocations: 8 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.627e-05/0.004296, allocations: 23.98 kB / 482.4 MB, free: 4.516 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.004319, allocations: 8.781 kB / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.004366, allocations: 28.47 kB / 482.5 MB, free: 4.484 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.004512, allocations: 73.7 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.004515, allocations: 3.984 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004516, allocations: 0.5469 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.004519, allocations: 0 / 482.5 MB, free: 4.41 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.0003438/0.004863, allocations: 277.7 kB / 482.8 MB, free: 4.109 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.004901, allocations: 12.03 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.004942, allocations: 6.031 kB / 482.8 MB, free: 4.094 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.326e-05/0.005035, allocations: 116 kB / 482.9 MB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.005053, allocations: 384 / 482.9 MB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.005074, allocations: 9.25 kB / 483 MB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.702e-05/0.005151, allocations: 54.89 kB / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.005159, allocations: 192 / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.005166, allocations: 1.281 kB / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.005171, allocations: 384 / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.97e-05/0.005191, allocations: 9.781 kB / 483 MB, free: 3.879 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.005441, allocations: 160.3 kB / 483.2 MB, free: 3.707 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.658e-05/0.005487, allocations: 24.02 kB / 483.2 MB, free: 3.676 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.005504, allocations: 13.55 kB / 483.2 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.00551, allocations: 0.625 kB / 483.2 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.364e-05/0.005593, allocations: 59.34 kB / 483.3 MB, free: 3.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.005594, allocations: 0.625 kB / 483.3 MB, free: 3.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001199/0.005714, allocations: 59.02 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.005754, allocations: 55.41 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.581e-05/0.00583, allocations: 111.2 kB / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.005852, allocations: 31.3 kB / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.005895, allocations: 88.12 kB / 483.6 MB, free: 3.215 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.168e-05/0.005907, allocations: 9.719 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/0.005967, allocations: 33.69 kB / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.659e-05/0.006053, allocations: 310.8 kB / 484 MB, free: 2.855 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.88e-05/0.006112, allocations: 49.69 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-05/0.006175, allocations: 68.25 kB / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.591e-05/0.006251, allocations: 78.88 kB / 484.1 MB, free: 2.629 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.006253, allocations: 0 / 484.1 MB, free: 2.629 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000165/0.006418, allocations: 149.6 kB / 484.3 MB, free: 2.465 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.006449, allocations: 34.33 kB / 484.3 MB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.006455, allocations: 0 / 484.3 MB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.006468, allocations: 4.625 kB / 484.3 MB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.073e-05/0.006509, allocations: 4 kB / 484.3 MB, free: 2.418 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.006514, allocations: 5.203 kB / 484.3 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.006636, allocations: 19.98 kB / 484.4 MB, free: 2.395 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.006649, allocations: 1.062 kB / 484.4 MB, free: 2.395 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 7.121e-05/0.006721, allocations: 126.3 kB / 484.5 MB, free: 2.262 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.006733, allocations: 9.078 kB / 484.5 MB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.006763, allocations: 13.03 kB / 484.5 MB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.006767, allocations: 3.938 kB / 484.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.006768, allocations: 1.75 kB / 484.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.006771, allocations: 0.9844 kB / 484.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.631e-05/0.006848, allocations: 77.83 kB / 484.6 MB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006849, allocations: 0 / 484.6 MB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.255e-05/0.006861, allocations: 0 / 484.6 MB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.006863, allocations: 1.188 kB / 484.6 MB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.006871, allocations: 8.062 kB / 484.6 MB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.006872, allocations: 400 / 484.6 MB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.006874, allocations: 0.8438 kB / 484.6 MB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.348e-05/0.006957, allocations: 70.12 kB / 484.7 MB, free: 2.047 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-06/0.006963, allocations: 5.922 kB / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.006972, allocations: 0 / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.312e-05/0.006985, allocations: 0 / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.007009, allocations: 15.92 kB / 484.7 MB, free: 2.027 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.007014, allocations: 4.844 kB / 484.7 MB, free: 2.023 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.081e-05/0.007034, allocations: 16.83 kB / 484.7 MB, free: 2.004 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007034, allocations: 0.5938 kB / 484.7 MB, free: 2.004 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001962/0.007231, allocations: 23.88 kB / 484.7 MB, free: 1.98 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.0001018/0.007332, allocations: 81.41 kB / 484.8 MB, free: 1.895 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.007486, allocations: 134.9 kB / 484.9 MB, free: 1.742 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.007488, allocations: 1.406 kB / 484.9 MB, free: 1.742 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.366e-05/0.007512, allocations: 17.36 kB / 485 MB, free: 1.723 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.007616, allocations: 7.984 kB / 485 MB, free: 1.715 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002307/0.007847, allocations: 122.6 kB / 485.1 MB, free: 1.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.641e-05/0.007883, allocations: 63.28 kB / 485.2 MB, free: 1.488 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.751e-05/0.0079, allocations: 1.344 kB / 485.2 MB, free: 1.488 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.318e-05/0.007984, allocations: 63.36 kB / 485.2 MB, free: 1.426 MB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/0.007984, allocations: 0 / 485.2 MB, free: 1.426 MB / 442.7 MB Notification: Performance of Templates: time 0.003461/0.01145, allocations: 1.281 MB / 486.5 MB, free: 240 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6218612091615796]