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.0008681/0.0008681, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001326/0.001326, allocations: 208.1 kB / 22.25 MB, free: 3.574 MB / 13.93 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.963/0.963, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.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.7884/0.7884, allocations: 203.5 MB / 0.5039 GB, free: 10.72 MB / 410.7 MB " [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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",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.001104/0.001104, allocations: 70.61 kB / 0.7178 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5075/0.5086, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001269/0.5099, allocations: 0.5977 MB / 0.8179 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008623/0.5108, allocations: 1.139 MB / 0.8191 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.5108, allocations: 3.094 kB / 0.8191 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.5108, allocations: 3.938 kB / 0.8191 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.49e-05/0.5109, allocations: 8.578 kB / 0.8191 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.5113, allocations: 118.4 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.5114, allocations: 93.39 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.791e-05/0.5115, allocations: 1.078 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.144e-05/0.5116, allocations: 50.89 kB / 0.8193 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.491e-05/0.5116, allocations: 27.73 kB / 0.8193 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.5117, allocations: 5.469 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.197e-05/0.5117, allocations: 21.89 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.5117, allocations: 1.906 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.5118, allocations: 35.3 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.5119, allocations: 83.84 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5119, allocations: 0.7969 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.582e-06/0.5119, allocations: 3.938 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.5119, allocations: 0 / 0.8195 GB, free: 15.86 MB / 0.6198 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.0003642/0.5123, allocations: 314.8 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.5123, allocations: 11.38 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.553e-05/0.5123, allocations: 31.31 kB / 0.8198 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.5124, allocations: 3.797 kB / 0.8198 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.02e-05/0.5125, allocations: 111.9 kB / 0.8199 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.5125, allocations: 2.391 kB / 0.8199 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.5125, allocations: 5.469 kB / 0.8199 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.607e-05/0.5126, allocations: 40.72 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.5126, allocations: 3.938 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.5126, allocations: 0 / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.5126, allocations: 2.375 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.238e-05/0.5126, allocations: 13.08 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.5129, allocations: 251.2 kB / 0.8202 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.116e-05/0.513, allocations: 31.22 kB / 0.8203 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.773e-05/0.513, allocations: 12.83 kB / 0.8203 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-06/0.513, allocations: 0 / 0.8203 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.5131, allocations: 66.06 kB / 0.8204 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.5131, allocations: 0.5938 kB / 0.8204 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001652/0.5133, allocations: 69.31 kB / 0.8204 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.5133, allocations: 56.48 kB / 0.8205 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.103e-05/0.5134, allocations: 115.5 kB / 0.8206 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.5134, allocations: 32.33 kB / 0.8206 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.5134, allocations: 84.72 kB / 0.8207 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.212e-05/0.5134, allocations: 9.844 kB / 0.8207 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.5135, allocations: 31.06 kB / 0.8207 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.5135, allocations: 315.8 kB / 0.821 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.02e-05/0.5136, allocations: 63 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.245e-05/0.5137, allocations: 87.03 kB / 0.8212 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.3e-05/0.5138, allocations: 86.17 kB / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.5138, allocations: 8 kB / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000171/0.5139, allocations: 187.8 kB / 0.8214 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.514, allocations: 34.62 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.514, allocations: 0 / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.514, allocations: 3 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.663e-05/0.514, allocations: 5.625 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.514, allocations: 1.594 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.5141, allocations: 26.12 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.5142, allocations: 9.047 kB / 0.8215 GB, free: 13.92 MB / 0.6198 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 6.354e-05/0.5142, allocations: 119.4 kB / 0.8216 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-06/0.5142, allocations: 2.891 kB / 0.8216 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.5142, allocations: 10.36 kB / 0.8216 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5143, allocations: 0 / 0.8216 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5143, allocations: 1.562 kB / 0.8217 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5143, allocations: 0.6094 kB / 0.8217 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.903e-05/0.5143, allocations: 133.8 kB / 0.8218 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.5143, allocations: 0 / 0.8218 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.178e-06/0.5143, allocations: 2.109 kB / 0.8218 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.5143, allocations: 4.609 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.5144, allocations: 1.156 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5144, allocations: 0.7031 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5144, allocations: 0 / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.43e-05/0.5144, allocations: 99.11 kB / 0.8219 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-06/0.5144, allocations: 0.6562 kB / 0.8219 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.5145, allocations: 8.141 kB / 0.8219 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-06/0.5145, allocations: 0 / 0.8219 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.5145, allocations: 1.781 kB / 0.8219 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.5145, allocations: 4.156 kB / 0.8219 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.151e-05/0.5145, allocations: 84.53 kB / 0.822 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5145, allocations: 4 kB / 0.822 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001675/0.5147, allocations: 15.98 kB / 0.822 GB, free: 13.45 MB / 0.6198 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 0.000292/0.515, allocations: 0.6317 MB / 0.8226 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001896/0.5152, allocations: 140.2 kB / 0.8227 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5152, allocations: 0 / 0.8227 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.584e-05/0.5152, allocations: 18.08 kB / 0.8228 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.5154, allocations: 15.31 kB / 0.8228 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.5164, allocations: 1.519 MB / 0.8243 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.5165, allocations: 66.09 kB / 0.8243 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.841e-05/0.5165, allocations: 3.656 kB / 0.8243 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.5165, allocations: 12.14 kB / 0.8243 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.5165, allocations: 0 / 0.8243 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01496/0.5315, allocations: 2.623 MB / 0.8269 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.614/7.145, allocations: 7.531 kB / 0.8269 GB, free: 10.31 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.152798233088106] Failed to read output from testmodel.py, exit status != 0: 7.223570648115128 7.233642774 6.71985598 Calling exit ...