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.0008545/0.0008545, allocations: 80.45 kB / 19.15 MB, free: 0.7734 MB / 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.0008835/0.0008835, allocations: 162 kB / 22.43 MB, free: 2.141 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.8885/0.8885, allocations: 177.2 MB / 202.8 MB, free: 5.781 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.7417/0.7417, allocations: 154.9 MB / 414.2 MB, free: 0.5039 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [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.001008/0.001008, allocations: 69.3 kB / 0.6186 GB, free: 12.21 MB / 0.5417 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.4852/0.4862, allocations: 102 MB / 0.7182 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00135/0.4876, allocations: 0.6002 MB / 0.7187 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.4886, allocations: 1.133 MB / 0.7199 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.264e-05/0.4886, allocations: 0 / 0.7199 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.4886, allocations: 0 / 0.7199 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.306e-05/0.4887, allocations: 3.938 kB / 0.7199 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.4891, allocations: 130.6 kB / 0.72 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.4893, allocations: 91.83 kB / 0.7201 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.222e-05/0.4893, allocations: 11.92 kB / 0.7201 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.751e-05/0.4894, allocations: 55.89 kB / 0.7201 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.318e-05/0.4895, allocations: 31.39 kB / 0.7202 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.4895, allocations: 8 kB / 0.7202 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.727e-05/0.4896, allocations: 16 kB / 0.7202 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.4896, allocations: 4 kB / 0.7202 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.641e-05/0.4897, allocations: 35.89 kB / 0.7202 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.4898, allocations: 103.8 kB / 0.7203 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.4898, allocations: 0 / 0.7203 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4898, allocations: 0 / 0.7203 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.4898, allocations: 0 / 0.7203 GB, free: 11.17 MB / 0.6042 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.0006547/0.4905, allocations: 307.9 kB / 0.7206 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4905, allocations: 13.47 kB / 0.7206 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.29e-05/0.4905, allocations: 30.75 kB / 0.7207 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.4906, allocations: 8.875 kB / 0.7207 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.467e-05/0.4907, allocations: 110.5 kB / 0.7208 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.4907, allocations: 4.375 kB / 0.7208 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.4907, allocations: 8.375 kB / 0.7208 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.647e-05/0.4908, allocations: 42.25 kB / 0.7208 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.4908, allocations: 3.938 kB / 0.7208 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.4908, allocations: 0 / 0.7208 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4908, allocations: 0 / 0.7208 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.297e-05/0.4908, allocations: 8 kB / 0.7208 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.4912, allocations: 252 kB / 0.7211 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.816e-05/0.4912, allocations: 26.52 kB / 0.7211 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/0.4912, allocations: 12.92 kB / 0.7211 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.4913, allocations: 0 / 0.7211 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.4914, allocations: 67.38 kB / 0.7212 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4914, allocations: 0 / 0.7212 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001844/0.4916, allocations: 81.55 kB / 0.7213 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.4916, allocations: 55.39 kB / 0.7213 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.796e-05/0.4917, allocations: 113.8 kB / 0.7214 GB, free: 9.875 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.4917, allocations: 29.7 kB / 0.7214 GB, free: 9.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.4917, allocations: 92.08 kB / 0.7215 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.4918, allocations: 3.953 kB / 0.7215 GB, free: 9.742 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.4918, allocations: 29.7 kB / 0.7216 GB, free: 9.707 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.4919, allocations: 322.8 kB / 0.7219 GB, free: 9.383 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.492, allocations: 57.69 kB / 0.7219 GB, free: 9.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.991e-05/0.492, allocations: 84.25 kB / 0.722 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.104e-05/0.4921, allocations: 96.2 kB / 0.7221 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4921, allocations: 0 / 0.7221 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001749/0.4923, allocations: 177 kB / 0.7223 GB, free: 8.922 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.4923, allocations: 41.69 kB / 0.7223 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4923, allocations: 0 / 0.7223 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.4923, allocations: 0 / 0.7223 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.224e-05/0.4924, allocations: 4 kB / 0.7223 GB, free: 8.871 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4924, allocations: 4.062 kB / 0.7223 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.4925, allocations: 31.86 kB / 0.7223 GB, free: 8.836 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.4925, allocations: 4 kB / 0.7224 GB, free: 8.832 MB / 0.6042 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 7.311e-05/0.4926, allocations: 132 kB / 0.7225 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-06/0.4926, allocations: 0 / 0.7225 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.4926, allocations: 4 kB / 0.7225 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4926, allocations: 4 kB / 0.7225 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.4926, allocations: 0 / 0.7225 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4926, allocations: 0 / 0.7225 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.289e-05/0.4927, allocations: 140.7 kB / 0.7226 GB, free: 8.504 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4927, allocations: 0 / 0.7226 GB, free: 8.504 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.411e-05/0.4927, allocations: 0 / 0.7226 GB, free: 8.504 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4927, allocations: 0 / 0.7226 GB, free: 8.504 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.4928, allocations: 7.984 kB / 0.7226 GB, free: 8.496 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4928, allocations: 0 / 0.7226 GB, free: 8.496 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4928, allocations: 0 / 0.7226 GB, free: 8.496 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.99e-05/0.4928, allocations: 88.95 kB / 0.7227 GB, free: 8.391 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-06/0.4929, allocations: 4 kB / 0.7227 GB, free: 8.387 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.4929, allocations: 4 kB / 0.7227 GB, free: 8.383 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.145e-05/0.4929, allocations: 4 kB / 0.7227 GB, free: 8.379 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.4929, allocations: 11.98 kB / 0.7227 GB, free: 8.367 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.4929, allocations: 3.938 kB / 0.7227 GB, free: 8.363 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.185e-05/0.4929, allocations: 95.2 kB / 0.7228 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.4929, allocations: 0 / 0.7228 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001374/0.4931, allocations: 12 kB / 0.7228 GB, free: 8.258 MB / 0.6042 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.0003036/0.4934, allocations: 0.6253 MB / 0.7235 GB, free: 7.605 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001799/0.4936, allocations: 145 kB / 0.7236 GB, free: 7.445 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4936, allocations: 0 / 0.7236 GB, free: 7.445 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.433e-05/0.4936, allocations: 20.09 kB / 0.7236 GB, free: 7.426 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.4938, allocations: 8 kB / 0.7236 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.4948, allocations: 1.521 MB / 0.7251 GB, free: 5.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.532e-05/0.4949, allocations: 63.34 kB / 0.7252 GB, free: 5.688 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.313e-05/0.4949, allocations: 4 kB / 0.7252 GB, free: 5.684 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.4949, allocations: 12.5 kB / 0.7252 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.4949, allocations: 0 / 0.7252 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.5142, allocations: 2.757 MB / 0.7279 GB, free: 3.102 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.732/7.246, allocations: 4.938 kB / 0.7279 GB, free: 3.102 MB / 0.6042 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.074634387041442] Failed to read output from testmodel.py, exit status != 0: 7.3276981270173565 7.340788305 6.849158525 Calling exit ...