Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006926/0.0006926, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009475/0.00164, 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.0006884/0.0006884, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009159/0.001604, 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 1.009/1.009, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08946/1.099, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.753/0.753, allocations: 154.6 MB / 398.8 MB, free: 392 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.2641/1.017, allocations: 49.05 MB / 447.8 MB, free: 6.562 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/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_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_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 449.1 MB, free: 5.297 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.285e-05, allocations: 7.469 kB / 449.1 MB, free: 5.293 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002149/0.002182, allocations: 0.6435 MB / 449.8 MB, free: 4.688 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.003683, allocations: 1.166 MB / 450.9 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.657e-05/0.003739, allocations: 0 / 450.9 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.003773, allocations: 5 kB / 450.9 MB, free: 3.508 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.811e-05/0.003831, allocations: 2.406 kB / 450.9 MB, free: 3.508 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.004336, allocations: 120.5 kB / 451.1 MB, free: 3.391 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.004545, allocations: 97.66 kB / 451.1 MB, free: 3.305 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.695e-05/0.004632, allocations: 4.547 kB / 451.2 MB, free: 3.301 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.004766, allocations: 55.58 kB / 451.2 MB, free: 3.25 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.004888, allocations: 25.05 kB / 451.2 MB, free: 3.227 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.004923, allocations: 9.094 kB / 451.2 MB, free: 3.219 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.747e-05/0.005021, allocations: 23.98 kB / 451.3 MB, free: 3.195 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.00505, allocations: 7.938 kB / 451.3 MB, free: 3.191 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.748e-05/0.005097, allocations: 16.77 kB / 451.3 MB, free: 3.176 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.005283, allocations: 58.45 kB / 451.3 MB, free: 3.121 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.616e-05/0.005299, allocations: 0 / 451.3 MB, free: 3.121 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.0053, allocations: 0 / 451.3 MB, free: 3.121 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.00532, allocations: 0 / 451.3 MB, free: 3.121 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005981/0.005918, allocations: 292.3 kB / 451.6 MB, free: 2.805 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.005966, allocations: 11.2 kB / 451.6 MB, free: 2.797 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.006029, allocations: 4.938 kB / 451.6 MB, free: 2.793 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.006164, allocations: 113.8 kB / 451.8 MB, free: 2.656 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.006191, allocations: 4.375 kB / 451.8 MB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.006216, allocations: 4.375 kB / 451.8 MB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.006334, allocations: 56.86 kB / 451.8 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.006345, allocations: 192 / 451.8 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.006355, allocations: 1.641 kB / 451.8 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.006366, allocations: 4.375 kB / 451.8 MB, free: 2.582 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.336e-05/0.006389, allocations: 3.938 kB / 451.8 MB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.006767, allocations: 161 kB / 452 MB, free: 2.406 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.996e-05/0.006847, allocations: 24.27 kB / 452 MB, free: 2.375 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.006863, allocations: 8.922 kB / 452 MB, free: 2.363 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.014e-06/0.00687, allocations: 0 / 452 MB, free: 2.363 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.006982, allocations: 55.97 kB / 452.1 MB, free: 2.297 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.285e-06/0.006984, allocations: 0.8438 kB / 452.1 MB, free: 2.297 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001472/0.007132, allocations: 60.92 kB / 452.1 MB, free: 2.234 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.007166, allocations: 56.11 kB / 452.2 MB, free: 2.168 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.363e-05/0.00725, allocations: 126.6 kB / 452.3 MB, free: 2.031 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.007271, allocations: 29.7 kB / 452.3 MB, free: 1.996 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.007314, allocations: 84.14 kB / 452.4 MB, free: 1.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.007329, allocations: 7.938 kB / 452.4 MB, free: 1.902 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.007388, allocations: 33.69 kB / 452.5 MB, free: 1.863 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.5e-05/0.007483, allocations: 315.4 kB / 452.8 MB, free: 1.547 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.00755, allocations: 50.59 kB / 452.8 MB, free: 1.492 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.007617, allocations: 68.27 kB / 452.9 MB, free: 1.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.539e-05/0.007702, allocations: 82.06 kB / 453 MB, free: 1.316 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.007705, allocations: 0 / 453 MB, free: 1.316 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000185/0.00789, allocations: 149.8 kB / 453.1 MB, free: 1.152 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/0.007932, allocations: 30.61 kB / 453.1 MB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.00794, allocations: 4 kB / 453.2 MB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.007957, allocations: 9.969 kB / 453.2 MB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.496e-05/0.008012, allocations: 8 kB / 453.2 MB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.008015, allocations: 0 / 453.2 MB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.008151, allocations: 17.3 kB / 453.2 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.008169, allocations: 9.094 kB / 453.2 MB, free: 1.074 MB / 426.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.002e-05/0.008249, allocations: 118.5 kB / 453.3 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.008261, allocations: 4 kB / 453.3 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.008289, allocations: 9.219 kB / 453.3 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.008292, allocations: 7.875 kB / 453.3 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.008293, allocations: 4 kB / 453.3 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.008297, allocations: 1.062 kB / 453.3 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.84e-05/0.008375, allocations: 65.89 kB / 453.4 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.008377, allocations: 0 / 453.4 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.986e-05/0.008397, allocations: 5.156 kB / 453.4 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.008406, allocations: 5.547 kB / 453.4 MB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.008408, allocations: 4 kB / 453.4 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.008413, allocations: 0.7188 kB / 453.4 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.008416, allocations: 3.984 kB / 453.4 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.008419, allocations: 5.438 kB / 453.4 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.867e-05/0.008507, allocations: 65.12 kB / 453.5 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.008518, allocations: 1.094 kB / 453.5 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.937e-05/0.008537, allocations: 4 kB / 453.5 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.008562, allocations: 7.406 kB / 453.5 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.008567, allocations: 7.938 kB / 453.5 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.107e-05/0.008588, allocations: 16.78 kB / 453.5 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008588, allocations: 0 / 453.5 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002063/0.008795, allocations: 16.69 kB / 453.5 MB, free: 0.6875 MB / 426.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.0001367/0.008931, allocations: 90.12 kB / 453.6 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.009111, allocations: 131.4 kB / 453.8 MB, free: 456 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.009116, allocations: 4 kB / 453.8 MB, free: 452 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.651e-05/0.009143, allocations: 18.47 kB / 453.8 MB, free: 432 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.009294, allocations: 64.94 kB / 453.8 MB, free: 356 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005678/0.009861, allocations: 129.5 kB / 454 MB, free: 204 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.932e-05/0.009891, allocations: 55.92 kB / 454 MB, free: 128 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.873e-05/0.009919, allocations: 8.547 kB / 454 MB, free: 120 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.788e-05/0.01001, allocations: 64 kB / 454.1 MB, free: 56 kB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/0.01001, allocations: 0 / 454.1 MB, free: 56 kB / 426.7 MB Notification: Performance of Templates: time 0.002813/0.01282, allocations: 1.293 MB / 455.4 MB, free: 14.85 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5762682519853115]