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.0008589/0.0008589, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 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.0009703/0.0009703, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9506/0.9506, allocations: 177.2 MB / 203.6 MB, free: 5.75 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.7259/0.7259, allocations: 154.9 MB / 414.9 MB, free: 0.5117 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.0009946/0.0009946, allocations: 77.56 kB / 0.6198 GB, free: 12.79 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.5143/0.5153, 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.00234/0.5176, allocations: 0.5864 MB / 0.72 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.5193, allocations: 1.14 MB / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.5194, allocations: 0 / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.456e-05/0.5194, allocations: 7.875 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.498e-05/0.5195, allocations: 10.53 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005536/0.52, allocations: 115.5 kB / 0.7212 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.5202, allocations: 98.2 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.5203, allocations: 4.281 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.5204, allocations: 47.75 kB / 0.7214 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.5205, allocations: 30.72 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.5206, allocations: 9.156 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.735e-05/0.5206, allocations: 19.98 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.5207, allocations: 7.875 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.5207, allocations: 29.84 kB / 0.7215 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.5209, allocations: 91.27 kB / 0.7215 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5209, allocations: 3.938 kB / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5209, allocations: 0 / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.5209, allocations: 1.125 kB / 0.7215 GB, free: 22.1 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.0004369/0.5214, allocations: 303.8 kB / 0.7218 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.5214, allocations: 11.47 kB / 0.7218 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.5215, allocations: 6 kB / 0.7219 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.631e-05/0.5216, allocations: 110 kB / 0.722 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.5216, allocations: 6.781 kB / 0.722 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.5216, allocations: 14.02 kB / 0.722 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.5217, allocations: 36.42 kB / 0.722 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.5217, allocations: 192 / 0.722 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.5218, allocations: 3.938 kB / 0.722 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5218, allocations: 1.734 kB / 0.722 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.476e-05/0.5218, allocations: 10.33 kB / 0.722 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.5222, allocations: 229.1 kB / 0.7222 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.647e-05/0.5222, allocations: 26.38 kB / 0.7223 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.5223, allocations: 12.72 kB / 0.7223 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.5223, allocations: 5.406 kB / 0.7223 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.5224, allocations: 74.86 kB / 0.7224 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.724e-06/0.5224, allocations: 0 / 0.7224 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002255/0.5226, allocations: 66.44 kB / 0.7224 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.5227, allocations: 53.11 kB / 0.7225 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.882e-05/0.5227, allocations: 115.5 kB / 0.7226 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.5228, allocations: 28.05 kB / 0.7226 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.5228, allocations: 87.31 kB / 0.7227 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.5228, allocations: 6.797 kB / 0.7227 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/0.5229, allocations: 30.31 kB / 0.7227 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.088e-05/0.5229, allocations: 318.4 kB / 0.723 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.523, allocations: 64.33 kB / 0.7231 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.821e-05/0.5231, allocations: 83.33 kB / 0.7232 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.5232, allocations: 82.36 kB / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5232, allocations: 0 / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002706/0.5235, allocations: 188.8 kB / 0.7234 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.5235, allocations: 33.14 kB / 0.7235 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5235, allocations: 1.062 kB / 0.7235 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5235, allocations: 1.344 kB / 0.7235 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.5236, allocations: 11.23 kB / 0.7235 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5236, allocations: 5.156 kB / 0.7235 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.5238, allocations: 28.84 kB / 0.7235 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.5238, allocations: 6.375 kB / 0.7235 GB, free: 20.25 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 6.858e-05/0.5239, allocations: 120.6 kB / 0.7236 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.5239, allocations: 6.781 kB / 0.7236 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.5239, allocations: 5.859 kB / 0.7236 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.5239, allocations: 1.156 kB / 0.7236 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.5239, allocations: 4 kB / 0.7236 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.524, allocations: 4.594 kB / 0.7237 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.171e-05/0.524, allocations: 111.6 kB / 0.7238 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.524, allocations: 1.844 kB / 0.7238 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.218e-05/0.524, allocations: 5.125 kB / 0.7238 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5241, allocations: 1.828 kB / 0.7238 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-06/0.5241, allocations: 1.125 kB / 0.7238 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5241, allocations: 0.75 kB / 0.7238 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5241, allocations: 64 / 0.7238 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.5242, allocations: 97.23 kB / 0.7239 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.5242, allocations: 5.938 kB / 0.7239 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.5242, allocations: 6.062 kB / 0.7239 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.5242, allocations: 2.125 kB / 0.7239 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.5243, allocations: 2.844 kB / 0.7239 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.5243, allocations: 1.875 kB / 0.7239 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.923e-05/0.5243, allocations: 87.23 kB / 0.724 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5243, allocations: 0 / 0.724 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002322/0.5245, allocations: 15.66 kB / 0.724 GB, free: 19.8 MB / 0.6355 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.0001298/0.5247, allocations: 102.4 kB / 0.7241 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002397/0.5249, allocations: 144.4 kB / 0.7242 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5249, allocations: 5.188 kB / 0.7242 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.719e-05/0.525, allocations: 9.531 kB / 0.7242 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.5252, allocations: 14.36 kB / 0.7242 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.5255, allocations: 133.7 kB / 0.7244 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.672e-05/0.5256, allocations: 63.67 kB / 0.7244 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.87e-05/0.5256, allocations: 3.453 kB / 0.7244 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/0.5256, allocations: 13.66 kB / 0.7244 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.5256, allocations: 5.375 kB / 0.7245 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.00337/0.529, allocations: 1.185 MB / 0.7256 GB, free: 19.24 MB / 0.6355 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4384312849724665] Failed to read output from testmodel.py, exit status != 0: 0.5355741319945082 0.544231821 0.021283722 Calling exit ...