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.0009646/0.0009646, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001029/0.001029, allocations: 177 kB / 23.36 MB, free: 1.137 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.9399/0.9399, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.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.7862/0.7862, allocations: 154.6 MB / 414.8 MB, free: 0.4922 MB / 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. " [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.683e-06/1.683e-06, allocations: 0 / 480 MB, free: 6.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.608e-05, allocations: 3.078 kB / 480 MB, free: 6.914 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001653/0.00168, allocations: 0.6069 MB / 480.6 MB, free: 6.336 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.003294, allocations: 1.167 MB / 481.7 MB, free: 5.16 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.003339, allocations: 1.719 kB / 481.7 MB, free: 5.16 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.003368, allocations: 0 / 481.7 MB, free: 5.16 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.021e-05/0.003448, allocations: 6.781 kB / 481.7 MB, free: 5.156 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.003907, allocations: 120.4 kB / 481.9 MB, free: 5.039 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.004068, allocations: 96.55 kB / 482 MB, free: 4.953 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.813e-05/0.004147, allocations: 7.047 kB / 482 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.004253, allocations: 52.22 kB / 482 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.105e-05/0.004344, allocations: 29.48 kB / 482 MB, free: 4.875 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.004365, allocations: 8 kB / 482 MB, free: 4.867 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.418e-05/0.004429, allocations: 20.53 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.004449, allocations: 4.984 kB / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.00449, allocations: 20.97 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.004638, allocations: 78.02 kB / 482.2 MB, free: 4.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.004641, allocations: 7.938 kB / 482.2 MB, free: 4.742 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004642, allocations: 0.6875 kB / 482.2 MB, free: 4.742 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.004645, allocations: 0 / 482.2 MB, free: 4.742 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.0003474/0.004993, allocations: 280.4 kB / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.005026, allocations: 8.031 kB / 482.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.005067, allocations: 10.8 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.722e-05/0.005154, allocations: 113.7 kB / 482.6 MB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.005173, allocations: 4.375 kB / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.005191, allocations: 4.375 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.4e-05/0.005265, allocations: 50.95 kB / 482.6 MB, free: 4.223 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.005273, allocations: 4.828 kB / 482.6 MB, free: 4.219 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.005279, allocations: 384 / 482.6 MB, free: 4.219 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.005284, allocations: 0.9062 kB / 482.6 MB, free: 4.219 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.183e-05/0.005306, allocations: 12.44 kB / 482.7 MB, free: 4.207 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.005545, allocations: 157.7 kB / 482.8 MB, free: 4.039 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.719e-05/0.005592, allocations: 26.58 kB / 482.8 MB, free: 4.004 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.005605, allocations: 5.672 kB / 482.8 MB, free: 3.996 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.005611, allocations: 1.219 kB / 482.8 MB, free: 3.996 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.184e-05/0.005693, allocations: 59.39 kB / 482.9 MB, free: 3.926 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.005694, allocations: 0 / 482.9 MB, free: 3.926 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001178/0.005812, allocations: 58.33 kB / 483 MB, free: 3.863 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.005845, allocations: 52.83 kB / 483 MB, free: 3.801 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.102e-05/0.005916, allocations: 119.6 kB / 483.1 MB, free: 3.672 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.005937, allocations: 29.7 kB / 483.2 MB, free: 3.637 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.005973, allocations: 80.14 kB / 483.2 MB, free: 3.555 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.005985, allocations: 12.94 kB / 483.2 MB, free: 3.543 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.006039, allocations: 25.7 kB / 483.3 MB, free: 3.512 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.194e-05/0.006121, allocations: 323.4 kB / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.324e-05/0.006185, allocations: 45.69 kB / 483.6 MB, free: 3.137 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.006e-05/0.006245, allocations: 73.52 kB / 483.7 MB, free: 3.051 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.546e-05/0.00632, allocations: 72.25 kB / 483.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.006322, allocations: 0.5625 kB / 483.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001585/0.006481, allocations: 153.1 kB / 483.9 MB, free: 2.801 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.006515, allocations: 40.22 kB / 484 MB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.00652, allocations: 0 / 484 MB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.006534, allocations: 9 kB / 484 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.344e-05/0.006578, allocations: 3.938 kB / 484 MB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.006582, allocations: 4 kB / 484 MB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.006699, allocations: 16.7 kB / 484 MB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.006716, allocations: 13.77 kB / 484 MB, free: 2.715 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.777e-05/0.006794, allocations: 114.4 kB / 484.1 MB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.006807, allocations: 4 kB / 484.1 MB, free: 2.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.006833, allocations: 13.42 kB / 484.1 MB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.006836, allocations: 3.938 kB / 484.1 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.006838, allocations: 0 / 484.1 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.006842, allocations: 0 / 484.1 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.504e-05/0.006917, allocations: 70.64 kB / 484.2 MB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.006918, allocations: 0.875 kB / 484.2 MB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.00694, allocations: 9.422 kB / 484.2 MB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.006943, allocations: 0 / 484.2 MB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.006947, allocations: 0 / 484.2 MB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.006949, allocations: 0 / 484.2 MB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.00695, allocations: 0.7188 kB / 484.2 MB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.559e-05/0.007035, allocations: 73 kB / 484.3 MB, free: 2.387 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.007043, allocations: 4.891 kB / 484.3 MB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.007054, allocations: 11.92 kB / 484.3 MB, free: 2.371 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.235e-05/0.007067, allocations: 1.188 kB / 484.3 MB, free: 2.371 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/0.007085, allocations: 4 kB / 484.3 MB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.00709, allocations: 3.938 kB / 484.3 MB, free: 2.363 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.035e-05/0.007111, allocations: 21.84 kB / 484.3 MB, free: 2.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007111, allocations: 0 / 484.3 MB, free: 2.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.007285, allocations: 16.53 kB / 484.4 MB, free: 2.324 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.000112/0.007397, allocations: 81.02 kB / 484.4 MB, free: 2.238 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.007557, allocations: 139 kB / 484.6 MB, free: 2.082 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.007564, allocations: 8 kB / 484.6 MB, free: 2.074 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.877e-05/0.007582, allocations: 9.797 kB / 484.6 MB, free: 2.062 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001148/0.007697, allocations: 13.34 kB / 484.6 MB, free: 2.051 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.007936, allocations: 127.5 kB / 484.7 MB, free: 1.902 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.253e-05/0.007968, allocations: 59.3 kB / 484.8 MB, free: 1.824 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.031e-05/0.007989, allocations: 4.672 kB / 484.8 MB, free: 1.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.48e-05/0.008074, allocations: 64.02 kB / 484.9 MB, free: 1.758 MB / 442.7 MB Notification: Performance of SimCode: time 8.12e-07/0.008074, allocations: 0 / 484.9 MB, free: 1.758 MB / 442.7 MB Notification: Performance of Templates: time 0.003747/0.01182, allocations: 1.282 MB / 486.1 MB, free: 0.5664 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.521028475370258]