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.001157/0.001157, allocations: 80.44 kB / 19.91 MB, free: 0 / 13.93 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.001046/0.001046, allocations: 169.6 kB / 23.19 MB, free: 1.367 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.9121/0.9121, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.6988/0.6988, allocations: 154.9 MB / 414.9 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.001206/0.001206, allocations: 67.89 kB / 0.6198 GB, free: 12.82 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4844, allocations: 102 MB / 0.7194 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001448/0.4858, allocations: 0.5911 MB / 0.72 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009912/0.4868, allocations: 1.14 MB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.4868, allocations: 1.125 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.4869, allocations: 0.9844 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.473e-05/0.4869, allocations: 9.797 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.4874, allocations: 123.2 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.4875, allocations: 102.8 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.4876, allocations: 3.969 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.4878, allocations: 51.62 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.4879, allocations: 27.66 kB / 0.7214 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.4879, allocations: 7.844 kB / 0.7214 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.279e-05/0.4879, allocations: 16.69 kB / 0.7214 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.488, allocations: 11.06 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.299e-05/0.488, allocations: 26.75 kB / 0.7215 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.4882, allocations: 106.6 kB / 0.7216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4882, allocations: 1.125 kB / 0.7216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4882, allocations: 4 kB / 0.7216 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.4882, allocations: 0 / 0.7216 GB, free: 22.08 MB / 0.6355 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.0004193/0.4886, allocations: 305.1 kB / 0.7219 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.4887, allocations: 9.688 kB / 0.7219 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.4887, allocations: 6.219 kB / 0.7219 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.039e-05/0.4888, allocations: 117.7 kB / 0.722 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.4888, allocations: 6.75 kB / 0.722 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.4889, allocations: 6.406 kB / 0.722 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.275e-05/0.4889, allocations: 39.67 kB / 0.722 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.489, allocations: 0.75 kB / 0.722 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.489, allocations: 3.938 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.489, allocations: 5.031 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.525e-05/0.489, allocations: 6.234 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.4893, allocations: 234.5 kB / 0.7223 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.625e-05/0.4893, allocations: 25.48 kB / 0.7223 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.4894, allocations: 9.688 kB / 0.7223 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.4894, allocations: 4.734 kB / 0.7223 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.4895, allocations: 59.7 kB / 0.7224 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4895, allocations: 0 / 0.7224 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001857/0.4897, allocations: 73.83 kB / 0.7224 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.4897, allocations: 57.22 kB / 0.7225 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.554e-05/0.4897, allocations: 110.7 kB / 0.7226 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.4897, allocations: 27.14 kB / 0.7226 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.683e-05/0.4898, allocations: 88.7 kB / 0.7227 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-06/0.4898, allocations: 6.094 kB / 0.7227 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.4898, allocations: 31.23 kB / 0.7227 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.187e-05/0.4899, allocations: 317.6 kB / 0.7231 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.4899, allocations: 64.48 kB / 0.7231 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.664e-05/0.49, allocations: 80.44 kB / 0.7232 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.575e-05/0.4901, allocations: 94.23 kB / 0.7233 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4901, allocations: 0 / 0.7233 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001792/0.4902, allocations: 183 kB / 0.7235 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.4903, allocations: 38.52 kB / 0.7235 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4903, allocations: 1.297 kB / 0.7235 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.4903, allocations: 5.875 kB / 0.7235 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.023e-05/0.4904, allocations: 2.281 kB / 0.7235 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.4904, allocations: 5.609 kB / 0.7235 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.4905, allocations: 32.7 kB / 0.7235 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.4905, allocations: 6.312 kB / 0.7235 GB, free: 20.23 MB / 0.6355 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 4.908e-05/0.4906, allocations: 124.1 kB / 0.7237 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.4906, allocations: 6.938 kB / 0.7237 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.997e-05/0.4906, allocations: 6.297 kB / 0.7237 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.4906, allocations: 0.9688 kB / 0.7237 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4906, allocations: 3.938 kB / 0.7237 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.4906, allocations: 11.31 kB / 0.7237 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.4906, allocations: 0 / 0.7237 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-06/0.4906, allocations: 2.172 kB / 0.7237 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.4907, allocations: 8.312 kB / 0.7237 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.76e-05/0.4907, allocations: 135 kB / 0.7238 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.334e-05/0.4908, allocations: 228.9 kB / 0.724 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.534e-05/0.4908, allocations: 12.72 kB / 0.7241 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.315e-05/0.4908, allocations: 87.06 kB / 0.7241 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of Backend: time 1.2e-07/0.4908, allocations: 0 / 0.7241 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003548/0.4912, allocations: 208.5 kB / 0.7243 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003329/0.4915, allocations: 0.581 MB / 0.7249 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of Templates: time 0.002998/0.4945, allocations: 1.24 MB / 0.7261 GB, free: 18.75 MB / 0.6355 GB " [Timeout remaining time 660] 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: 4.100233546923846] Failed to read output from testmodel.py, exit status != 0: 0.499737465986982 0.50833724 0.018371488000000002 Calling exit ...