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.001599/0.001599, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001195/0.001195, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9325/0.9325, allocations: 177.1 MB / 202.8 MB, free: 5.547 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.7437/0.7437, allocations: 154.6 MB / 413.8 MB, free: 0.7539 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: "" <> 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: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.715e-05, allocations: 3.031 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001693/0.00172, allocations: 0.5866 MB / 0.6186 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.002996, allocations: 1.139 MB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.499e-05/0.003041, allocations: 0 / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.00307, allocations: 3.938 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.075e-05/0.003131, allocations: 7.938 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.003563, allocations: 130.4 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.003695, allocations: 87.83 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.226e-05/0.003787, allocations: 7.984 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.353e-05/0.003871, allocations: 51.95 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.003971, allocations: 19.97 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.003992, allocations: 8 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.526e-05/0.004047, allocations: 15.98 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.004067, allocations: 15.94 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.004111, allocations: 27.95 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.004263, allocations: 103.7 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004266, allocations: 0 / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.373e-06/0.004267, allocations: 3.938 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.004272, allocations: 0 / 0.6202 GB, free: 11.47 MB / 0.5886 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.0003916/0.004663, allocations: 300 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.004702, allocations: 8.031 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.869e-05/0.004731, allocations: 34.75 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.004766, allocations: 4.938 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.366e-05/0.00485, allocations: 109.7 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.004872, allocations: 12.38 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.004889, allocations: 8.359 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.885e-05/0.004978, allocations: 38.27 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.004986, allocations: 192 / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.004995, allocations: 4.359 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.005002, allocations: 8.109 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.812e-05/0.00504, allocations: 11.88 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.005368, allocations: 252 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.763e-05/0.005425, allocations: 26.58 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.005443, allocations: 8.922 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.005452, allocations: 4 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/0.005583, allocations: 71.27 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.005585, allocations: 0 / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001826/0.005767, allocations: 73.64 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.005805, allocations: 55.39 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.391e-05/0.005879, allocations: 105.8 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.005899, allocations: 29.7 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.005946, allocations: 88.14 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.326e-05/0.00596, allocations: 3.953 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.006007, allocations: 29.7 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.605e-05/0.006093, allocations: 326.8 kB / 0.6218 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.59e-05/0.006159, allocations: 57.69 kB / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.83e-05/0.006227, allocations: 84.19 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.231e-05/0.006309, allocations: 80.28 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.006312, allocations: 0 / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001977/0.00651, allocations: 192.9 kB / 0.6222 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.00654, allocations: 37.7 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.006545, allocations: 3.938 kB / 0.6222 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.006558, allocations: 8.047 kB / 0.6222 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.892e-05/0.006617, allocations: 7.938 kB / 0.6222 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.006623, allocations: 0 / 0.6222 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.006754, allocations: 23.97 kB / 0.6222 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.006767, allocations: 4 kB / 0.6222 GB, free: 9.141 MB / 0.5886 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 7.833e-05/0.006845, allocations: 118.8 kB / 0.6224 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.006857, allocations: 11.88 kB / 0.6224 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.006879, allocations: 4 kB / 0.6224 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.006882, allocations: 8 kB / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.006887, allocations: 0 / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.00689, allocations: 0 / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.136e-05/0.006981, allocations: 136.7 kB / 0.6225 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006982, allocations: 0 / 0.6225 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-06/0.006992, allocations: 3.938 kB / 0.6225 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.006993, allocations: 0 / 0.6225 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.007, allocations: 4 kB / 0.6225 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.007001, allocations: 0 / 0.6225 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.007002, allocations: 0 / 0.6225 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.252e-05/0.007085, allocations: 85.05 kB / 0.6226 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.007094, allocations: 15.89 kB / 0.6226 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.007104, allocations: 3.938 kB / 0.6226 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.015e-05/0.007114, allocations: 0 / 0.6226 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.00714, allocations: 11.98 kB / 0.6226 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.007144, allocations: 0 / 0.6226 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.903e-05/0.007173, allocations: 79.28 kB / 0.6227 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007173, allocations: 0 / 0.6227 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001507/0.007323, allocations: 20 kB / 0.6227 GB, free: 8.574 MB / 0.5886 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.0002838/0.007607, allocations: 0.6283 MB / 0.6233 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.007792, allocations: 149.1 kB / 0.6235 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.007793, allocations: 0 / 0.6235 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.37e-05/0.007817, allocations: 15.94 kB / 0.6235 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.00797, allocations: 11.89 kB / 0.6235 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.009041, allocations: 1.512 MB / 0.625 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.00908, allocations: 63.34 kB / 0.625 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.082e-05/0.009101, allocations: 4 kB / 0.625 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.009128, allocations: 16.62 kB / 0.6251 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.009129, allocations: 0 / 0.6251 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.02716, allocations: 2.761 MB / 0.6278 GB, free: 3.406 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.901/6.928, allocations: 6.172 kB / 0.6278 GB, free: 3.402 MB / 0.5886 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: 9.8602280523628] Failed to read output from testmodel.py, exit status != 0: 7.00866565015167 7.018267504 7.011118625 Calling exit ...