Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002418/0.002418, allocations: 187.6 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.807/1.807, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 69.59 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2433, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001803/0.2452, allocations: 0.6252 MB / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.2465, allocations: 1.11 MB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.871e-05/0.2465, allocations: 4 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.421e-05/0.2466, allocations: 7.938 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.918e-05/0.2466, allocations: 3.938 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.2471, allocations: 126.6 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.2472, allocations: 91.89 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.053e-05/0.2473, allocations: 11.97 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.893e-05/0.2474, allocations: 35.92 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.133e-05/0.2475, allocations: 27.95 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.2475, allocations: 11.94 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.529e-05/0.2476, allocations: 23.97 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.2476, allocations: 11.94 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.2476, allocations: 23.92 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.2478, allocations: 91.78 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2478, allocations: 0 / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2478, allocations: 0 / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.2478, allocations: 0 / 0.7858 GB, free: 11.03 MB / 0.6075 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.0003972/0.2482, allocations: 377.4 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2483, allocations: 16.02 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.766e-05/0.2483, allocations: 30.75 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.2483, allocations: 8.844 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.119e-05/0.2484, allocations: 164.3 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.2484, allocations: 4.375 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.2485, allocations: 8.375 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.203e-05/0.2486, allocations: 46.19 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.2486, allocations: 3.938 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.2486, allocations: 0 / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.2486, allocations: 0 / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.658e-05/0.2486, allocations: 11.98 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.249, allocations: 284.9 kB / 0.7867 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.64e-05/0.249, allocations: 42.44 kB / 0.7867 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.2491, allocations: 12.92 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.2491, allocations: 0 / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.2492, allocations: 63.38 kB / 0.7868 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2492, allocations: 3.938 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001864/0.2494, allocations: 65.59 kB / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.2495, allocations: 59.34 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.642e-05/0.2495, allocations: 117.8 kB / 0.787 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.2496, allocations: 25.7 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.2496, allocations: 88.12 kB / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.2496, allocations: 11.91 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.2497, allocations: 29.7 kB / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.026e-05/0.2498, allocations: 310.8 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-05/0.2499, allocations: 31.98 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.518e-05/0.25, allocations: 54.55 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.2501, allocations: 96.2 kB / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2501, allocations: 0 / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002341/0.2503, allocations: 147.4 kB / 0.7878 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.2504, allocations: 33.7 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2504, allocations: 4 kB / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.2504, allocations: 4.062 kB / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.774e-05/0.2504, allocations: 7.969 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.2504, allocations: 4 kB / 0.7878 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.2506, allocations: 27.97 kB / 0.7879 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.2507, allocations: 4 kB / 0.7879 GB, free: 8.594 MB / 0.6075 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.363e-05/0.2507, allocations: 118.4 kB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.2507, allocations: 7.906 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.2508, allocations: 11.89 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2508, allocations: 0 / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2508, allocations: 0 / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2508, allocations: 0 / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.2509, allocations: 165.6 kB / 0.7882 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2509, allocations: 0 / 0.7882 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.749e-05/0.2509, allocations: 11.94 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.251, allocations: 0 / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.251, allocations: 0 / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.251, allocations: 400 / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.251, allocations: 0 / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.2511, allocations: 90.12 kB / 0.7883 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/0.2511, allocations: 88.94 kB / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.2511, allocations: 0 / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.38e-05/0.2512, allocations: 0 / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.2512, allocations: 4 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.2512, allocations: 8 kB / 0.7884 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.159e-05/0.2513, allocations: 91.25 kB / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2513, allocations: 0 / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002052/0.2515, allocations: 23.94 kB / 0.7885 GB, free: 7.883 MB / 0.6075 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.0003444/0.2518, allocations: 0.624 MB / 0.7891 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.252, allocations: 127.3 kB / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.252, allocations: 0 / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.419e-05/0.2521, allocations: 24.11 kB / 0.7892 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.2523, allocations: 14.64 kB / 0.7892 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.2536, allocations: 1.381 MB / 0.7906 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.2538, allocations: 0.6882 MB / 0.7913 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.2538, allocations: 4 kB / 0.7913 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.2538, allocations: 15.44 kB / 0.7913 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2538, allocations: 0 / 0.7913 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.2701, allocations: 1.99 MB / 0.7932 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.579/7.849, allocations: 11.64 kB / 0.7932 GB, free: 2.957 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)