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.0007225/0.0007225, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007502/0.0007502, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8462/0.8462, allocations: 177.1 MB / 203.5 MB, free: 5.727 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-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 0.6763/0.6763, allocations: 154.6 MB / 414.5 MB, free: 0.7695 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.324e-06/2.324e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.904e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001504/0.001533, allocations: 0.5818 MB / 0.6199 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.002577, allocations: 1.143 MB / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.606e-05/0.002613, allocations: 0 / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.002639, allocations: 3.938 kB / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.607e-05/0.002695, allocations: 3.938 kB / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.003061, allocations: 126.5 kB / 0.6211 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.00319, allocations: 95.81 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.203e-05/0.003273, allocations: 4 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.799e-05/0.00335, allocations: 47.95 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.668e-05/0.003427, allocations: 31.89 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.003446, allocations: 8 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.973e-05/0.003496, allocations: 19.98 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.003514, allocations: 4 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.003555, allocations: 23.97 kB / 0.6213 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.003701, allocations: 107.7 kB / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003703, allocations: 0 / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.333e-06/0.003705, allocations: 0 / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.003709, allocations: 0 / 0.6214 GB, free: 10.96 MB / 0.5886 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.0003694/0.004078, allocations: 307.9 kB / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.004112, allocations: 11.97 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.004154, allocations: 4.938 kB / 0.6218 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.434e-05/0.004228, allocations: 113.8 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.004248, allocations: 4.375 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.004262, allocations: 4.375 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.089e-05/0.004343, allocations: 38.25 kB / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.004351, allocations: 8.188 kB / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.00436, allocations: 384 / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.004364, allocations: 384 / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.651e-05/0.0044, allocations: 15.86 kB / 0.6219 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.004688, allocations: 224.6 kB / 0.6222 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.809e-05/0.004736, allocations: 22.58 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.004752, allocations: 8.859 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.004762, allocations: 8.047 kB / 0.6222 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.004877, allocations: 59.34 kB / 0.6222 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.004879, allocations: 4 kB / 0.6222 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001774/0.005056, allocations: 77.56 kB / 0.6223 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.005089, allocations: 55.41 kB / 0.6224 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.718e-05/0.005146, allocations: 105.8 kB / 0.6225 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.005162, allocations: 25.7 kB / 0.6225 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.112e-05/0.005203, allocations: 92.12 kB / 0.6226 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.005213, allocations: 7.953 kB / 0.6226 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.005258, allocations: 37.69 kB / 0.6226 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.045e-05/0.005329, allocations: 318.8 kB / 0.6229 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/0.005397, allocations: 61.69 kB / 0.623 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.005463, allocations: 84.19 kB / 0.6231 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.116e-05/0.005534, allocations: 84.33 kB / 0.6232 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.005537, allocations: 4 kB / 0.6232 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001753/0.005712, allocations: 181 kB / 0.6233 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.005746, allocations: 45.62 kB / 0.6234 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.00575, allocations: 0 / 0.6234 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.005762, allocations: 4 kB / 0.6234 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.904e-05/0.005811, allocations: 3.938 kB / 0.6234 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.005817, allocations: 4 kB / 0.6234 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.005943, allocations: 31.97 kB / 0.6234 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.005956, allocations: 7.984 kB / 0.6234 GB, free: 8.695 MB / 0.5886 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.047e-05/0.006017, allocations: 114.8 kB / 0.6235 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-06/0.006024, allocations: 4.234 kB / 0.6235 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.006044, allocations: 11.88 kB / 0.6235 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.006047, allocations: 3.984 kB / 0.6236 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.006051, allocations: 0 / 0.6236 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.006054, allocations: 0 / 0.6236 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.415e-05/0.006118, allocations: 117.3 kB / 0.6237 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006119, allocations: 0 / 0.6237 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-05/0.00613, allocations: 4 kB / 0.6237 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.006132, allocations: 0 / 0.6237 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.006139, allocations: 3.984 kB / 0.6237 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.00614, allocations: 3.938 kB / 0.6237 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006141, allocations: 0 / 0.6237 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.041e-05/0.006222, allocations: 89.02 kB / 0.6238 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-06/0.006227, allocations: 0 / 0.6238 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.006236, allocations: 0 / 0.6238 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.006247, allocations: 7.938 kB / 0.6238 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.00627, allocations: 7.984 kB / 0.6238 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.006274, allocations: 0 / 0.6238 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.005e-05/0.006304, allocations: 91.27 kB / 0.6239 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006304, allocations: 0 / 0.6239 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001389/0.006443, allocations: 16 kB / 0.6239 GB, free: 8.168 MB / 0.5886 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.000107/0.00655, allocations: 105.8 kB / 0.624 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001632/0.006713, allocations: 145 kB / 0.6241 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006715, allocations: 0 / 0.6241 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-05/0.006737, allocations: 12 kB / 0.6241 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.006897, allocations: 21.05 kB / 0.6241 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002362/0.007133, allocations: 150.6 kB / 0.6243 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.007173, allocations: 67.28 kB / 0.6244 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.007192, allocations: 12.5 kB / 0.6244 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of SimCode: time 8.22e-07/0.007193, allocations: 0 / 0.6244 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of Templates: time 0.001793/0.008986, allocations: 0.9498 MB / 0.6253 GB, free: 6.656 MB / 0.5886 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: 4.754815487191081] Failed to read output from testmodel.py, exit status != 0: 0.014544741250574589 0.022180459000000003 0.016920309 Calling exit ...