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.0009627/0.0009627, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.0008994/0.0008994, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9179/0.9179, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.7831/0.7831, allocations: 154.6 MB / 415.6 MB, free: 0.543 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 2.585e-06/2.585e-06, allocations: 0 / 0.5215 GB, free: 1.934 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001277/0.0001303, allocations: 2.312 kB / 0.5215 GB, free: 1.93 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001232/0.001362, allocations: 0.5869 MB / 0.5221 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.002465, allocations: 1.159 MB / 0.5232 GB, free: 192 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.0025, allocations: 0 / 0.5232 GB, free: 192 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.36e-05/0.002523, allocations: 0 / 0.5232 GB, free: 192 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.002589, allocations: 20.66 kB / 0.5232 GB, free: 172 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.002917, allocations: 116.8 kB / 0.5233 GB, free: 56 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.003044, allocations: 91.89 kB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.986e-05/0.003114, allocations: 9.438 kB / 0.5234 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.469e-05/0.003189, allocations: 43.88 kB / 0.5235 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.207e-05/0.003281, allocations: 38.95 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.0033, allocations: 8 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.145e-05/0.003351, allocations: 12.78 kB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.003371, allocations: 15.97 kB / 0.5236 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.003402, allocations: 20.77 kB / 0.5236 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.003513, allocations: 75.78 kB / 0.5236 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003515, allocations: 2.906 kB / 0.5236 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.322e-06/0.003516, allocations: 3.984 kB / 0.5237 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.003519, allocations: 0 / 0.5237 GB, free: 15.75 MB / 0.4948 GB 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.0002993/0.003819, allocations: 402.3 kB / 0.524 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.003851, allocations: 8.031 kB / 0.524 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.003885, allocations: 16.88 kB / 0.5241 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.728e-05/0.003953, allocations: 112.5 kB / 0.5242 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.003967, allocations: 4.375 kB / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.003979, allocations: 4.875 kB / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.874e-05/0.004038, allocations: 51.7 kB / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.939e-06/0.004043, allocations: 192 / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.004048, allocations: 1.219 kB / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-06/0.004051, allocations: 4.375 kB / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.665e-05/0.004068, allocations: 11.91 kB / 0.5242 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.0043, allocations: 269.3 kB / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.799e-05/0.004338, allocations: 28 kB / 0.5245 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.412e-05/0.004352, allocations: 15.73 kB / 0.5245 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-06/0.004357, allocations: 0 / 0.5245 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.899e-05/0.004426, allocations: 61.55 kB / 0.5246 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.004426, allocations: 1.031 kB / 0.5246 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001187/0.004545, allocations: 69.52 kB / 0.5247 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.004571, allocations: 52.62 kB / 0.5247 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.665e-05/0.004638, allocations: 169.9 kB / 0.5249 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.004655, allocations: 29.7 kB / 0.5249 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.004873, allocations: 130.9 kB / 0.525 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.117e-06/0.004882, allocations: 12.56 kB / 0.525 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.004926, allocations: 44.69 kB / 0.5251 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.791e-05/0.005024, allocations: 492.1 kB / 0.5256 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.632e-05/0.00507, allocations: 53.69 kB / 0.5256 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.005e-05/0.00512, allocations: 81.03 kB / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.488e-05/0.005185, allocations: 85.97 kB / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.005187, allocations: 0 / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000151/0.005338, allocations: 170.1 kB / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.005364, allocations: 37.69 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.005367, allocations: 1.047 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.863e-06/0.005374, allocations: 3.938 kB / 0.526 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.485e-05/0.005409, allocations: 5.031 kB / 0.526 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.005415, allocations: 7.922 kB / 0.526 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.466e-05/0.005509, allocations: 20.62 kB / 0.526 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.005522, allocations: 12 kB / 0.526 GB, free: 13.07 MB / 0.4948 GB 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 6.276e-05/0.005585, allocations: 158 kB / 0.5262 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-06/0.005592, allocations: 4 kB / 0.5262 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.706e-05/0.005609, allocations: 8 kB / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.005612, allocations: 8.578 kB / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.005614, allocations: 1.094 kB / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.005617, allocations: 0 / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.203e-05/0.005679, allocations: 105.2 kB / 0.5263 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.005681, allocations: 6.812 kB / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-06/0.00569, allocations: 3.984 kB / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.005691, allocations: 0 / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.005695, allocations: 4 kB / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.005696, allocations: 0 / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005696, allocations: 0 / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.835e-05/0.005765, allocations: 92.31 kB / 0.5264 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-06/0.00577, allocations: 3.953 kB / 0.5264 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-06/0.005779, allocations: 10.55 kB / 0.5264 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-06/0.005786, allocations: 0 / 0.5264 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.005803, allocations: 7.938 kB / 0.5264 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.005807, allocations: 4 kB / 0.5264 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.308e-05/0.00584, allocations: 127.2 kB / 0.5265 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00584, allocations: 0 / 0.5265 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001318/0.005971, allocations: 19.94 kB / 0.5266 GB, free: 12.46 MB / 0.4948 GB 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 7.936e-05/0.006051, allocations: 105.1 kB / 0.5267 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.006187, allocations: 148.7 kB / 0.5268 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.006188, allocations: 1.938 kB / 0.5268 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.822e-05/0.006206, allocations: 19.67 kB / 0.5268 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.00633, allocations: 5.547 kB / 0.5268 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001735/0.006504, allocations: 130.9 kB / 0.5269 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.499e-05/0.006529, allocations: 55.36 kB / 0.527 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.581e-05/0.006545, allocations: 4.656 kB / 0.527 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.006607, allocations: 86.86 kB / 0.5271 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.006608, allocations: 3.938 kB / 0.5271 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.002442/0.00905, allocations: 1.315 MB / 0.5284 GB, free: 10.6 MB / 0.4948 GB " [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.3775117178447545]