Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001503/0.001503, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001709/0.001709, allocations: 214.7 kB / 22.25 MB, free: 5.078 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.302/1.302, allocations: 203.8 MB / 0.5041 GB, free: 4.93 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 60.78 kB / 0.7187 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.56/0.5622, allocations: 102 MB / 0.8183 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001842/0.564, allocations: 0.6003 MB / 0.8189 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.5657, allocations: 1.159 MB / 0.82 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.945e-05/0.5657, allocations: 0 / 0.82 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.5658, allocations: 0 / 0.82 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.409e-05/0.5658, allocations: 7.938 kB / 0.82 GB, free: 500 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.5664, allocations: 117.7 kB / 0.8201 GB, free: 384 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.5665, allocations: 87.89 kB / 0.8202 GB, free: 296 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.237e-05/0.5666, allocations: 7.938 kB / 0.8202 GB, free: 288 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.5667, allocations: 39.89 kB / 0.8203 GB, free: 248 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.5668, allocations: 39.91 kB / 0.8203 GB, free: 208 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.5669, allocations: 8 kB / 0.8203 GB, free: 200 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 6.812e-05/0.5669, allocations: 15.98 kB / 0.8203 GB, free: 184 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.567, allocations: 11.98 kB / 0.8203 GB, free: 172 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.272e-05/0.567, allocations: 27.92 kB / 0.8204 GB, free: 144 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.5672, allocations: 87.58 kB / 0.8205 GB, free: 60 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5672, allocations: 0 / 0.8205 GB, free: 60 kB / 0.5919 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5672, allocations: 0 / 0.8205 GB, free: 60 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.5672, allocations: 0 / 0.8205 GB, free: 60 kB / 0.5919 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.0005636/0.5678, allocations: 308.5 kB / 0.8208 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.5678, allocations: 13.47 kB / 0.8208 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.5679, allocations: 8.922 kB / 0.8208 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.568, allocations: 106.5 kB / 0.8209 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.568, allocations: 4.375 kB / 0.8209 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.568, allocations: 8.312 kB / 0.8209 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.5682, allocations: 42.25 kB / 0.8209 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5682, allocations: 192 / 0.8209 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.5682, allocations: 7.922 kB / 0.8209 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.5682, allocations: 0 / 0.8209 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.921e-05/0.5682, allocations: 8 kB / 0.8209 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.5687, allocations: 267.9 kB / 0.8212 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.739e-05/0.5688, allocations: 34.45 kB / 0.8212 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.925e-05/0.5688, allocations: 16.86 kB / 0.8212 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.5688, allocations: 3.984 kB / 0.8213 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.569, allocations: 59.41 kB / 0.8213 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.569, allocations: 0 / 0.8213 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002457/0.5693, allocations: 73.61 kB / 0.8214 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.5693, allocations: 55.34 kB / 0.8214 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.5694, allocations: 113.8 kB / 0.8215 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.5694, allocations: 25.7 kB / 0.8216 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.5695, allocations: 92.12 kB / 0.8217 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.5695, allocations: 7.891 kB / 0.8217 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.5696, allocations: 37.69 kB / 0.8217 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.5698, allocations: 318.8 kB / 0.822 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.972e-05/0.5699, allocations: 27.98 kB / 0.822 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.385e-05/0.57, allocations: 46.56 kB / 0.8221 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.5701, allocations: 88.2 kB / 0.8222 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.5701, allocations: 7.938 kB / 0.8222 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002735/0.5704, allocations: 151.3 kB / 0.8223 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/0.5704, allocations: 33.69 kB / 0.8223 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5704, allocations: 4 kB / 0.8223 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.5704, allocations: 0 / 0.8223 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.727e-05/0.5705, allocations: 4 kB / 0.8223 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5705, allocations: 0 / 0.8223 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.5707, allocations: 27.92 kB / 0.8224 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.5707, allocations: 16.05 kB / 0.8224 GB, free: 13.86 MB / 0.6075 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 0.0001035/0.5708, allocations: 114.8 kB / 0.8225 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.5709, allocations: 4 kB / 0.8225 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.5709, allocations: 11.94 kB / 0.8225 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5709, allocations: 0 / 0.8225 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.5709, allocations: 4 kB / 0.8225 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5709, allocations: 0 / 0.8225 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.571, allocations: 132.7 kB / 0.8226 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.571, allocations: 4 kB / 0.8226 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.574e-05/0.571, allocations: 4 kB / 0.8227 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.571, allocations: 0 / 0.8227 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.5711, allocations: 64 / 0.8227 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.5711, allocations: 15.92 kB / 0.8227 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5711, allocations: 0 / 0.8227 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.5712, allocations: 89.02 kB / 0.8228 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.5712, allocations: 0 / 0.8228 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.5712, allocations: 4 kB / 0.8228 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.641e-05/0.5712, allocations: 4 kB / 0.8228 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.5713, allocations: 3.984 kB / 0.8228 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.5713, allocations: 288 / 0.8228 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.395e-05/0.5713, allocations: 95.16 kB / 0.8229 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.5713, allocations: 0 / 0.8229 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000221/0.5716, allocations: 19.98 kB / 0.8229 GB, free: 13.29 MB / 0.6075 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.000151/0.5717, allocations: 102.6 kB / 0.823 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.5719, allocations: 111.4 kB / 0.8231 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5719, allocations: 4.125 kB / 0.8231 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.074e-05/0.572, allocations: 19.92 kB / 0.8231 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.5722, allocations: 7.938 kB / 0.8231 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.5726, allocations: 138 kB / 0.8232 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.573, allocations: 0.6768 MB / 0.8239 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.573, allocations: 4 kB / 0.8239 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.257e-05/0.573, allocations: 11.44 kB / 0.8239 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.573, allocations: 4 kB / 0.8239 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of Templates: time 0.004224/0.5772, allocations: 1.09 MB / 0.825 GB, free: 11.08 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.625802027061582] Failed to read output from testmodel.py, exit status != 0: 0.5869882721453905 0.60293436 0.032226015000000004 Calling exit ...