Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001071/0.001071, 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.001226/0.001226, 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.9004/0.9004, allocations: 177.1 MB / 202.8 MB, free: 5.742 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7583/0.7583, allocations: 154.6 MB / 413.7 MB, free: 0.8281 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.BooleanToReal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.807e-06/3.807e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/3.037e-05, allocations: 5.344 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002065/0.002095, allocations: 0.5999 MB / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.003826, allocations: 1.135 MB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.003879, allocations: 8 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.003912, allocations: 3.938 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.147e-05/0.003984, allocations: 0 / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005655/0.004549, allocations: 118.8 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.004733, allocations: 95.81 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.004842, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.004959, allocations: 55.89 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.00507, allocations: 23.95 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.005097, allocations: 12 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.438e-05/0.005172, allocations: 27.92 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.005194, allocations: 0 / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.005257, allocations: 27.92 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.005466, allocations: 99.81 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.00547, allocations: 0 / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.034e-06/0.005472, allocations: 0 / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.005479, allocations: 0 / 0.6202 GB, free: 11.55 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.0005106/0.005989, allocations: 307.9 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.006038, allocations: 13.41 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.006076, allocations: 30.75 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.006122, allocations: 8.938 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.006233, allocations: 113.8 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.006259, allocations: 4.375 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.00628, allocations: 4.375 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.006402, allocations: 38.25 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.006412, allocations: 192 / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.006422, allocations: 4.375 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.006431, allocations: 12.05 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.928e-05/0.00648, allocations: 7.984 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/0.006926, allocations: 248 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.126e-05/0.007008, allocations: 34.56 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.245e-05/0.00703, allocations: 4.859 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.007044, allocations: 4.062 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.007254, allocations: 67.33 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.007256, allocations: 0 / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002311/0.007487, allocations: 73.58 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.007537, allocations: 59.34 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/0.007625, allocations: 105.8 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.007649, allocations: 25.7 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.007704, allocations: 92.12 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.007724, allocations: 15.94 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.007791, allocations: 33.7 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.007906, allocations: 310.8 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.008016, allocations: 65.67 kB / 0.6218 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.008122, allocations: 76.27 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.008237, allocations: 84.2 kB / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.00824, allocations: 0 / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002886/0.008528, allocations: 188.9 kB / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.338e-05/0.008572, allocations: 37.77 kB / 0.6221 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.008578, allocations: 4 kB / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.008596, allocations: 4 kB / 0.6221 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.314e-05/0.008659, allocations: 0 / 0.6221 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.008669, allocations: 7.984 kB / 0.6222 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.008866, allocations: 31.84 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.008886, allocations: 8.062 kB / 0.6222 GB, free: 9.215 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 8.924e-05/0.008975, allocations: 114.8 kB / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.00899, allocations: 11.89 kB / 0.6223 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.009024, allocations: 12 kB / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.009028, allocations: 3.984 kB / 0.6223 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.009035, allocations: 0 / 0.6223 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.009041, allocations: 0 / 0.6223 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.009151, allocations: 128.8 kB / 0.6225 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.009153, allocations: 3.938 kB / 0.6225 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.009178, allocations: 7.938 kB / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.009181, allocations: 0 / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.009188, allocations: 0 / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.00919, allocations: 0 / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.009192, allocations: 400 / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.009323, allocations: 93.05 kB / 0.6226 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.009334, allocations: 7.891 kB / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.009349, allocations: 4 kB / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.673e-05/0.009366, allocations: 4 kB / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.009396, allocations: 0 / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.009405, allocations: 7.984 kB / 0.6226 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.049e-05/0.009455, allocations: 87.27 kB / 0.6227 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.009455, allocations: 0 / 0.6227 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002536/0.009709, allocations: 16 kB / 0.6227 GB, free: 8.645 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.0004626/0.01017, allocations: 0.6206 MB / 0.6233 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.01043, allocations: 152.9 kB / 0.6234 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01043, allocations: 0 / 0.6234 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.369e-05/0.01046, allocations: 12 kB / 0.6234 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.01071, allocations: 9.859 kB / 0.6234 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.01235, allocations: 1.519 MB / 0.6249 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.567e-05/0.0124, allocations: 63.34 kB / 0.625 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.273e-05/0.01243, allocations: 8.125 kB / 0.625 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.01248, allocations: 12.5 kB / 0.625 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of SimCode: time 1.302e-06/0.01248, allocations: 0 / 0.625 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.03129, allocations: 2.75 MB / 0.6277 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.05/7.081, allocations: 14.22 kB / 0.6277 GB, free: 3.477 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.011892350390553] Failed to read output from testmodel.py, exit status != 0: 7.164091139100492 7.172277319 7.164881224 Calling exit ...