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.000826/0.000826, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009501/0.0009501, allocations: 208.1 kB / 22.24 MB, free: 3.59 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.9499/0.9499, allocations: 230.6 MB / 256 MB, free: 9.613 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.7921/0.7921, allocations: 203.5 MB / 0.5038 GB, free: 10.77 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.0008879/0.0008879, allocations: 62.91 kB / 0.7178 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5815/0.5824, allocations: 102 MB / 0.8174 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001748/0.5842, allocations: 0.6004 MB / 0.8179 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.5857, allocations: 1.133 MB / 0.8191 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.864e-05/0.5858, allocations: 0 / 0.8191 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.937e-05/0.5858, allocations: 5.656 kB / 0.8191 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.5859, allocations: 5.297 kB / 0.8191 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.5866, allocations: 124.2 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.5868, allocations: 89.53 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.587, allocations: 3.953 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.5871, allocations: 38.5 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.5872, allocations: 32.56 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.5873, allocations: 5.594 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.901e-05/0.5874, allocations: 25.09 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.17e-05/0.5874, allocations: 2.562 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.616e-05/0.5875, allocations: 32.12 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.5877, allocations: 93.88 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.5877, allocations: 0 / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.916e-06/0.5877, allocations: 4 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.5878, allocations: 0 / 0.8195 GB, free: 15.87 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.0006537/0.5884, allocations: 309.2 kB / 0.8198 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.659e-05/0.5885, allocations: 10.02 kB / 0.8198 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.5885, allocations: 35.55 kB / 0.8198 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/0.5886, allocations: 3.75 kB / 0.8198 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.5887, allocations: 107.3 kB / 0.8199 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.5887, allocations: 3.094 kB / 0.8199 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.5888, allocations: 6.391 kB / 0.8199 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.5889, allocations: 41 kB / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.5889, allocations: 3.938 kB / 0.82 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.5889, allocations: 4.516 kB / 0.82 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.5889, allocations: 0 / 0.82 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.496e-05/0.589, allocations: 14.45 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.5895, allocations: 250.5 kB / 0.8202 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.72e-05/0.5896, allocations: 31.45 kB / 0.8203 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.5896, allocations: 13.09 kB / 0.8203 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.5896, allocations: 0 / 0.8203 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.5898, allocations: 67.92 kB / 0.8204 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.5898, allocations: 0 / 0.8204 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001906/0.59, allocations: 69.56 kB / 0.8204 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.5901, allocations: 55.34 kB / 0.8205 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.677e-05/0.5902, allocations: 120 kB / 0.8206 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.5902, allocations: 29.64 kB / 0.8206 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.5902, allocations: 85.08 kB / 0.8207 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.5902, allocations: 8.516 kB / 0.8207 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.5903, allocations: 28.95 kB / 0.8207 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.5904, allocations: 316.1 kB / 0.821 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.034e-05/0.5905, allocations: 62.97 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.585e-05/0.5905, allocations: 82.64 kB / 0.8212 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.967e-05/0.5906, allocations: 92.39 kB / 0.8213 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5906, allocations: 0 / 0.8213 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002484/0.5909, allocations: 182.3 kB / 0.8214 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.5909, allocations: 34.97 kB / 0.8215 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5909, allocations: 0.9062 kB / 0.8215 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.591, allocations: 2.781 kB / 0.8215 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.591, allocations: 5.766 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.591, allocations: 4.547 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.5912, allocations: 33.42 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.5912, allocations: 5.734 kB / 0.8215 GB, free: 13.94 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 9.647e-05/0.5913, allocations: 120 kB / 0.8216 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.5913, allocations: 2.5 kB / 0.8216 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.5914, allocations: 10.67 kB / 0.8216 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5914, allocations: 0 / 0.8216 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.5914, allocations: 1 kB / 0.8216 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5914, allocations: 0.6562 kB / 0.8216 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.5915, allocations: 135.8 kB / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.5915, allocations: 7.953 kB / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.5915, allocations: 0 / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.5915, allocations: 0.5625 kB / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.5915, allocations: 7.953 kB / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5915, allocations: 0 / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.5915, allocations: 0 / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.5917, allocations: 96.17 kB / 0.8219 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.5917, allocations: 3.359 kB / 0.8219 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.5917, allocations: 0.7031 kB / 0.8219 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.379e-05/0.5917, allocations: 3.938 kB / 0.8219 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.5918, allocations: 4.578 kB / 0.8219 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.5918, allocations: 6.562 kB / 0.8219 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.446e-05/0.5918, allocations: 86.55 kB / 0.822 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5918, allocations: 0 / 0.822 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001607/0.592, allocations: 16.81 kB / 0.822 GB, free: 13.46 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.000442/0.5924, allocations: 0.629 MB / 0.8226 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002734/0.5927, allocations: 140.5 kB / 0.8227 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5927, allocations: 2.156 kB / 0.8228 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.644e-05/0.5927, allocations: 15.48 kB / 0.8228 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.593, allocations: 15.67 kB / 0.8228 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.5945, allocations: 1.509 MB / 0.8243 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.971e-05/0.5946, allocations: 63.66 kB / 0.8243 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.963e-05/0.5946, allocations: 2.422 kB / 0.8243 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.5947, allocations: 14.94 kB / 0.8243 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.5947, allocations: 3.938 kB / 0.8243 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.6178, allocations: 2.622 MB / 0.8269 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.044/7.662, allocations: 13.22 kB / 0.8269 GB, free: 10.33 MB / 0.6198 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 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.652735660318285] Failed to read output from testmodel.py, exit status != 0: 7.7389121926389635 7.754260882 7.163542739 Calling exit ...