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.001524/0.001524, allocations: 82.48 kB / 19.18 MB, free: 2.363 MB / 14.72 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.001927/0.001927, allocations: 173.4 kB / 22.46 MB, free: 4.984 MB / 14.72 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.425/1.425, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.226/1.226, allocations: 154.7 MB / 413.9 MB, free: 5.148 MB / 382.1 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 178] 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.124e-06/2.124e-06, allocations: 0 / 0.6187 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.782e-05, allocations: 2.281 kB / 0.6187 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001634/0.001662, allocations: 0.5934 MB / 0.6193 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.003303, allocations: 1.13 MB / 0.6204 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.829e-05/0.003341, allocations: 0 / 0.6204 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.003367, allocations: 3.938 kB / 0.6204 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.9e-05/0.003416, allocations: 7.938 kB / 0.6204 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.00385, allocations: 131.2 kB / 0.6205 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.004008, allocations: 87.89 kB / 0.6206 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.555e-05/0.004084, allocations: 13.95 kB / 0.6206 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.885e-05/0.004173, allocations: 47.89 kB / 0.6207 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.891e-05/0.004261, allocations: 27.97 kB / 0.6207 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.004283, allocations: 8 kB / 0.6207 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.422e-05/0.004337, allocations: 15.98 kB / 0.6207 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.004356, allocations: 8.594 kB / 0.6207 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.617e-05/0.004412, allocations: 31.89 kB / 0.6208 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.004624, allocations: 100.5 kB / 0.6209 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004627, allocations: 0 / 0.6209 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.82e-07/0.004627, allocations: 4 kB / 0.6209 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.004632, allocations: 0 / 0.6209 GB, free: 2.398 MB / 0.5294 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.000402/0.005034, allocations: 307.9 kB / 0.6212 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.005065, allocations: 8.031 kB / 0.6212 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.005105, allocations: 4.938 kB / 0.6212 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.775e-05/0.005203, allocations: 105.8 kB / 0.6213 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.005224, allocations: 4.375 kB / 0.6213 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.00524, allocations: 4.375 kB / 0.6213 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.017e-05/0.005321, allocations: 38.25 kB / 0.6213 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.005327, allocations: 8.125 kB / 0.6213 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.005333, allocations: 8.312 kB / 0.6213 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.005339, allocations: 4.359 kB / 0.6213 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.592e-05/0.005375, allocations: 19.86 kB / 0.6214 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.00569, allocations: 224.5 kB / 0.6216 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.822e-05/0.005758, allocations: 34.56 kB / 0.6216 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.005779, allocations: 8.859 kB / 0.6216 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.005789, allocations: 4.062 kB / 0.6216 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.005919, allocations: 71.31 kB / 0.6217 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.00592, allocations: 0 / 0.6217 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.000159/0.006079, allocations: 69.62 kB / 0.6217 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.006126, allocations: 55.41 kB / 0.6218 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.517e-05/0.006211, allocations: 113.8 kB / 0.6219 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.006238, allocations: 25.7 kB / 0.6219 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.006298, allocations: 88.12 kB / 0.622 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.00631, allocations: 11.95 kB / 0.622 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.006371, allocations: 29.7 kB / 0.6221 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.006522, allocations: 310.8 kB / 0.6224 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.006622, allocations: 65.67 kB / 0.6224 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.006745, allocations: 84.2 kB / 0.6225 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.006862, allocations: 84.27 kB / 0.6226 GB, free: 440 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.006863, allocations: 0 / 0.6226 GB, free: 440 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000292/0.007155, allocations: 181 kB / 0.6227 GB, free: 240 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.007198, allocations: 37.64 kB / 0.6228 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.0072, allocations: 0 / 0.6228 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.00721, allocations: 4 kB / 0.6228 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.154e-05/0.007252, allocations: 4 kB / 0.6228 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.007268, allocations: 8 kB / 0.6228 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.007449, allocations: 35.92 kB / 0.6228 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.007471, allocations: 11.98 kB / 0.6228 GB, free: 132 kB / 0.5294 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 9.161e-05/0.007563, allocations: 110.8 kB / 0.623 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.007574, allocations: 4 kB / 0.623 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.712e-05/0.007611, allocations: 11.94 kB / 0.623 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.007612, allocations: 0 / 0.623 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.007614, allocations: 0 / 0.623 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.007618, allocations: 7.922 kB / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.007721, allocations: 105.3 kB / 0.6231 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.007724, allocations: 3.984 kB / 0.6231 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.679e-05/0.007741, allocations: 8 kB / 0.6231 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.007742, allocations: 3.938 kB / 0.6231 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.007749, allocations: 0 / 0.6231 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.007754, allocations: 3.938 kB / 0.6231 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.007755, allocations: 0 / 0.6231 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.007878, allocations: 89.02 kB / 0.6232 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.007886, allocations: 3.984 kB / 0.6232 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.0079, allocations: 4 kB / 0.6232 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.629e-05/0.007916, allocations: 7.938 kB / 0.6232 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.00794, allocations: 0 / 0.6232 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.007944, allocations: 4 kB / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.643e-05/0.00801, allocations: 91.27 kB / 0.6233 GB, free: 15.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00801, allocations: 0 / 0.6233 GB, free: 15.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002079/0.008218, allocations: 16 kB / 0.6233 GB, free: 15.6 MB / 0.545 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 0.0001386/0.008357, allocations: 99.23 kB / 0.6234 GB, free: 15.49 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003086/0.008665, allocations: 145.3 kB / 0.6235 GB, free: 15.33 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.008667, allocations: 0 / 0.6235 GB, free: 15.33 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.008702, allocations: 16.08 kB / 0.6235 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.008896, allocations: 16.11 kB / 0.6236 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.009193, allocations: 124.7 kB / 0.6237 GB, free: 15.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.831e-05/0.009251, allocations: 67.34 kB / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.121e-05/0.009272, allocations: 11.83 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.009292, allocations: 12.5 kB / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.009292, allocations: 0 / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of Templates: time 0.004024/0.01332, allocations: 1.185 MB / 0.6249 GB, free: 13.91 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.726202387362719] Failed to read output from testmodel.py, exit status != 0: 0.02163461223244667 0.037857998000000004 0.029899581 Calling exit ...