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.0008496/0.0008496, allocations: 80.44 kB / 19.91 MB, free: 4 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.0008373/0.0008373, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9298/0.9298, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.7362/0.7362, allocations: 154.7 MB / 414.7 MB, free: 0.75 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.001008/0.001008, allocations: 77.27 kB / 0.6195 GB, free: 13.17 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.4905/0.4915, allocations: 101.9 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001698/0.4932, allocations: 0.5888 MB / 0.7197 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.4944, allocations: 1.13 MB / 0.7208 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.137e-05/0.4945, allocations: 0 / 0.7208 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.4945, allocations: 7.938 kB / 0.7208 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.896e-05/0.4946, allocations: 10.97 kB / 0.7208 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.495, allocations: 128 kB / 0.7209 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.4952, allocations: 93.97 kB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.4953, allocations: 4.219 kB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.4954, allocations: 55.19 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.4955, allocations: 26.59 kB / 0.7211 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.4956, allocations: 7.844 kB / 0.7211 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.219e-05/0.4956, allocations: 21.62 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.4957, allocations: 9.938 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.4957, allocations: 26.8 kB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.4959, allocations: 103.7 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4959, allocations: 3.938 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.926e-06/0.4959, allocations: 0.8125 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.4959, allocations: 0 / 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.0004264/0.4964, allocations: 308.8 kB / 0.7215 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.4964, allocations: 8.484 kB / 0.7216 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.4965, allocations: 5.312 kB / 0.7216 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.117e-05/0.4965, allocations: 115 kB / 0.7217 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.4965, allocations: 11.28 kB / 0.7217 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.4966, allocations: 5.719 kB / 0.7217 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.769e-05/0.4967, allocations: 44.12 kB / 0.7217 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4967, allocations: 192 / 0.7217 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.4967, allocations: 3.938 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4967, allocations: 1.703 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.575e-05/0.4967, allocations: 6.25 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.497, allocations: 229.4 kB / 0.722 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.23e-05/0.4971, allocations: 22.17 kB / 0.722 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.4971, allocations: 13.72 kB / 0.722 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.4971, allocations: 12.53 kB / 0.722 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.4972, allocations: 63.58 kB / 0.7221 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.4972, allocations: 0 / 0.7221 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001906/0.4974, allocations: 69.56 kB / 0.7221 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.4975, allocations: 53.72 kB / 0.7222 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.941e-05/0.4975, allocations: 113.9 kB / 0.7223 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.4975, allocations: 28.08 kB / 0.7223 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.4976, allocations: 88.72 kB / 0.7224 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.4976, allocations: 5.797 kB / 0.7224 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.4976, allocations: 31.3 kB / 0.7224 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.614e-05/0.4977, allocations: 321.4 kB / 0.7227 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.964e-05/0.4977, allocations: 60.75 kB / 0.7228 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.657e-05/0.4978, allocations: 80.11 kB / 0.7229 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.725e-05/0.4979, allocations: 86 kB / 0.723 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4979, allocations: 0 / 0.723 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000189/0.4981, allocations: 190.2 kB / 0.7231 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.4981, allocations: 38.92 kB / 0.7232 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4981, allocations: 1.062 kB / 0.7232 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.4981, allocations: 6.234 kB / 0.7232 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.644e-05/0.4982, allocations: 2.188 kB / 0.7232 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.4982, allocations: 5.672 kB / 0.7232 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.4983, allocations: 25.11 kB / 0.7232 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.4983, allocations: 6.219 kB / 0.7232 GB, free: 20.36 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 5.31e-05/0.4984, allocations: 120.7 kB / 0.7233 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.4984, allocations: 6.875 kB / 0.7233 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.4984, allocations: 10.03 kB / 0.7234 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4984, allocations: 7.984 kB / 0.7234 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4984, allocations: 0.6094 kB / 0.7234 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.4984, allocations: 7.047 kB / 0.7234 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.4985, allocations: 5.688 kB / 0.7234 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-06/0.4985, allocations: 0 / 0.7234 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.4985, allocations: 4.375 kB / 0.7234 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.022e-05/0.4986, allocations: 139.4 kB / 0.7235 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.331e-05/0.4986, allocations: 225.1 kB / 0.7237 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.807e-05/0.4987, allocations: 14.25 kB / 0.7237 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.635e-05/0.4987, allocations: 85.7 kB / 0.7238 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of Backend: time 6.81e-07/0.4987, allocations: 0 / 0.7238 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003734/0.4991, allocations: 216.3 kB / 0.724 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of SimCode: time 0.000365/0.4994, allocations: 0.5795 MB / 0.7246 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of Templates: time 0.00332/0.5028, allocations: 1.242 MB / 0.7258 GB, free: 18.86 MB / 0.6355 GB " [Timeout remaining time 659] 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: 4.25436742301099] Failed to read output from testmodel.py, exit status != 0: 0.5093583648558706 0.517622025 0.01962241 Calling exit ...