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.001384/0.001384, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.002085/0.002085, allocations: 221.8 kB / 22.26 MB, free: 3.707 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 1.012/1.012, allocations: 230.6 MB / 256 MB, free: 9.805 MB / 202.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.8411/0.8411, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [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: 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.0009227/0.0009227, allocations: 66.44 kB / 0.7182 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5813/0.5822, allocations: 102 MB / 0.8178 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001561/0.5838, allocations: 0.6132 MB / 0.8184 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.585, allocations: 1.152 MB / 0.8196 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.193e-05/0.5851, allocations: 0 / 0.8196 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.5851, allocations: 9.078 kB / 0.8196 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.66e-05/0.5852, allocations: 17.16 kB / 0.8196 GB, free: 0 / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.5857, allocations: 115.6 kB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.5858, allocations: 88.09 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.214e-05/0.5859, allocations: 3.594 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.075e-05/0.586, allocations: 45.3 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.5861, allocations: 31.84 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.5861, allocations: 9.344 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.291e-05/0.5862, allocations: 19.78 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.5862, allocations: 7.234 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.478e-05/0.5863, allocations: 33.34 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.5864, allocations: 90.25 kB / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5865, allocations: 0 / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5865, allocations: 0 / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.5865, allocations: 0 / 0.82 GB, free: 15.82 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.0004424/0.5869, allocations: 305.1 kB / 0.8203 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.5869, allocations: 10.88 kB / 0.8203 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.654e-05/0.587, allocations: 32.16 kB / 0.8203 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.587, allocations: 4.625 kB / 0.8203 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.6e-05/0.5871, allocations: 110.1 kB / 0.8204 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.5871, allocations: 4.891 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.5872, allocations: 8.375 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.447e-05/0.5872, allocations: 39.23 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.5873, allocations: 5.031 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.5873, allocations: 0 / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.5873, allocations: 1.562 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.619e-05/0.5873, allocations: 13.3 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.5877, allocations: 269.5 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.691e-05/0.5878, allocations: 31.5 kB / 0.8208 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.085e-05/0.5878, allocations: 16.09 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/0.5878, allocations: 0 / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.5879, allocations: 58.91 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.883e-06/0.5879, allocations: 0 / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001849/0.5881, allocations: 74.11 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.5882, allocations: 58.34 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.431e-05/0.5882, allocations: 112.9 kB / 0.8211 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.5883, allocations: 29.2 kB / 0.8211 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.5883, allocations: 86.17 kB / 0.8212 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.5883, allocations: 11.52 kB / 0.8212 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.5884, allocations: 29.72 kB / 0.8213 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.693e-05/0.5885, allocations: 317.6 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.292e-05/0.5885, allocations: 32.95 kB / 0.8216 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.5886, allocations: 50.06 kB / 0.8216 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.515e-05/0.5887, allocations: 90.02 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5887, allocations: 0 / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000193/0.5889, allocations: 151.1 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.5889, allocations: 44.88 kB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5889, allocations: 5.375 kB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.5889, allocations: 1.25 kB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.589, allocations: 2.969 kB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.589, allocations: 1.906 kB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.5891, allocations: 24.27 kB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.5892, allocations: 6.719 kB / 0.822 GB, free: 13.99 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 8.023e-05/0.5892, allocations: 123.8 kB / 0.8221 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-06/0.5893, allocations: 4.281 kB / 0.8221 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.5893, allocations: 4.938 kB / 0.8221 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5893, allocations: 3.984 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5893, allocations: 0.5625 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5893, allocations: 5.062 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.876e-05/0.5894, allocations: 139.1 kB / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5894, allocations: 0 / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.544e-05/0.5894, allocations: 8.391 kB / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.5894, allocations: 0 / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.5894, allocations: 4.703 kB / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5894, allocations: 3.984 kB / 0.8222 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5894, allocations: 0.5156 kB / 0.8222 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.49e-05/0.5895, allocations: 90.33 kB / 0.8223 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.5895, allocations: 4.609 kB / 0.8223 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.5895, allocations: 0.75 kB / 0.8223 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.447e-05/0.5895, allocations: 1.812 kB / 0.8223 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.5896, allocations: 2.734 kB / 0.8223 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.5896, allocations: 10.12 kB / 0.8223 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.5896, allocations: 87.12 kB / 0.8224 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5896, allocations: 0 / 0.8224 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001792/0.5898, allocations: 20.78 kB / 0.8224 GB, free: 13.5 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.0003448/0.5901, allocations: 0.6257 MB / 0.8231 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001959/0.5903, allocations: 115.5 kB / 0.8232 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5903, allocations: 0 / 0.8232 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.609e-05/0.5904, allocations: 14.27 kB / 0.8232 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.5905, allocations: 6.547 kB / 0.8232 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.5919, allocations: 1.399 MB / 0.8246 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.5922, allocations: 0.6806 MB / 0.8252 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.5922, allocations: 5.797 kB / 0.8252 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.5922, allocations: 13.66 kB / 0.8252 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.5922, allocations: 0 / 0.8252 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.6128, allocations: 2.126 MB / 0.8273 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.493/7.106, allocations: 10.03 kB / 0.8273 GB, free: 10.35 MB / 0.6198 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 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.163180221104994] Failed to read output from testmodel.py, exit status != 0: 7.182430915068835 7.19636302 6.606679842 Calling exit ...