Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.0007884/0.0007884, allocations: 72.45 kB / 19.91 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.0007694/0.0007694, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.8512/0.8512, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.6934/0.6934, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [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.001438/0.001438, allocations: 71.89 kB / 0.6195 GB, free: 13.16 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4104, allocations: 101.9 MB / 0.7191 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.00132/0.4117, allocations: 0.5949 MB / 0.7197 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009482/0.4126, allocations: 1.138 MB / 0.7208 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.4127, allocations: 1.281 kB / 0.7208 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.4127, allocations: 4.734 kB / 0.7208 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.86e-05/0.4128, allocations: 5.812 kB / 0.7208 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.4132, allocations: 123.6 kB / 0.7209 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.4133, allocations: 90.5 kB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.435e-05/0.4134, allocations: 7.844 kB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.388e-05/0.4135, allocations: 48.19 kB / 0.721 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.533e-05/0.4135, allocations: 38.28 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.4136, allocations: 8.344 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.107e-05/0.4136, allocations: 16.59 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.4136, allocations: 7.172 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.4137, allocations: 30.45 kB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.4138, allocations: 102.5 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4138, allocations: 0.5625 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.226e-06/0.4138, allocations: 3.938 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.4138, allocations: 1.031 kB / 0.7212 GB, free: 22.21 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.0003247/0.4142, allocations: 308 kB / 0.7215 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.4142, allocations: 14.03 kB / 0.7215 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.4142, allocations: 5.109 kB / 0.7215 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.451e-05/0.4143, allocations: 114.6 kB / 0.7217 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.4143, allocations: 3.438 kB / 0.7217 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.4143, allocations: 10.09 kB / 0.7217 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.291e-05/0.4144, allocations: 35.89 kB / 0.7217 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.4144, allocations: 192 / 0.7217 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.4144, allocations: 4.938 kB / 0.7217 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4144, allocations: 0 / 0.7217 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.133e-05/0.4145, allocations: 11.42 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.4147, allocations: 233.7 kB / 0.7219 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.5e-05/0.4148, allocations: 30.42 kB / 0.722 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.4148, allocations: 12.81 kB / 0.722 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.4148, allocations: 3.938 kB / 0.722 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/0.4149, allocations: 60.59 kB / 0.722 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.4149, allocations: 3.984 kB / 0.722 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001525/0.415, allocations: 69.14 kB / 0.7221 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.4151, allocations: 57.34 kB / 0.7222 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.008e-05/0.4151, allocations: 115.1 kB / 0.7223 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.4151, allocations: 26.86 kB / 0.7223 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.4152, allocations: 93.16 kB / 0.7224 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.4152, allocations: 5.141 kB / 0.7224 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.4152, allocations: 31.34 kB / 0.7224 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.966e-05/0.4152, allocations: 318.2 kB / 0.7227 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.291e-05/0.4153, allocations: 60.34 kB / 0.7228 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.876e-05/0.4154, allocations: 79.56 kB / 0.7229 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.686e-05/0.4154, allocations: 86.03 kB / 0.7229 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4154, allocations: 0 / 0.7229 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001598/0.4156, allocations: 195.6 kB / 0.7231 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.4156, allocations: 38.97 kB / 0.7232 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.4156, allocations: 1.469 kB / 0.7232 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.4156, allocations: 0.6562 kB / 0.7232 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.575e-05/0.4157, allocations: 3.609 kB / 0.7232 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4157, allocations: 5.406 kB / 0.7232 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.4158, allocations: 23.69 kB / 0.7232 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.4158, allocations: 7.344 kB / 0.7232 GB, free: 20.35 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: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.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.531e-05/0.4159, allocations: 123.7 kB / 0.7233 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-06/0.4159, allocations: 7.281 kB / 0.7233 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.998e-05/0.4159, allocations: 5.828 kB / 0.7233 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4159, allocations: 3.938 kB / 0.7233 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.4159, allocations: 1.719 kB / 0.7233 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4159, allocations: 0 / 0.7233 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.404e-05/0.416, allocations: 107.5 kB / 0.7234 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.416, allocations: 1.797 kB / 0.7235 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-06/0.416, allocations: 5.734 kB / 0.7235 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.416, allocations: 1.344 kB / 0.7235 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.416, allocations: 5.125 kB / 0.7235 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.416, allocations: 4.609 kB / 0.7235 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.416, allocations: 0 / 0.7235 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.002e-05/0.4161, allocations: 93.38 kB / 0.7236 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.141e-06/0.4161, allocations: 5.766 kB / 0.7236 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.348e-06/0.4161, allocations: 1.812 kB / 0.7236 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.023e-05/0.4161, allocations: 1.641 kB / 0.7236 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.4161, allocations: 2.688 kB / 0.7236 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.4161, allocations: 6.891 kB / 0.7236 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.899e-05/0.4161, allocations: 82.89 kB / 0.7237 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4161, allocations: 0 / 0.7237 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001393/0.4163, allocations: 19.03 kB / 0.7237 GB, free: 19.9 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: 3 ($whenCondition1,$whenCondition2,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 9.691e-05/0.4164, allocations: 102.2 kB / 0.7238 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001681/0.4165, allocations: 144.4 kB / 0.7239 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4165, allocations: 0 / 0.7239 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.142e-05/0.4166, allocations: 10.77 kB / 0.7239 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.4167, allocations: 15.47 kB / 0.7239 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002294/0.417, allocations: 159.1 kB / 0.7241 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.597e-05/0.417, allocations: 67.58 kB / 0.7241 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.424e-05/0.417, allocations: 11.69 kB / 0.7242 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of SimCode: time 5.62e-07/0.417, allocations: 0 / 0.7242 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of Templates: time 0.001913/0.4189, allocations: 0.9521 MB / 0.7251 GB, free: 19.37 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.268991977907717] Failed to read output from testmodel.py, exit status != 0: 0.425119865918532 0.43205436999999997 0.016525137000000002 Calling exit ...