Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.BooleanToInteger,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",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.001198/0.001198, allocations: 105.4 kB / 15.7 MB, free: 24 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.001306/0.001306, allocations: 188.4 kB / 16.64 MB, free: 6.594 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.582/1.582, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.821/1.821, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001464/0.001464, allocations: 68.27 kB / 0.6718 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2391, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001811/0.2409, allocations: 0.6233 MB / 0.7843 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.2422, allocations: 1.106 MB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.2423, allocations: 0 / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.59e-05/0.2423, allocations: 3.938 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.499e-05/0.2424, allocations: 3.938 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.2428, allocations: 127.3 kB / 0.7855 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.243, allocations: 99.86 kB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.681e-05/0.2431, allocations: 8 kB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.607e-05/0.2432, allocations: 35.86 kB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.2433, allocations: 35.88 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.2433, allocations: 8 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.715e-05/0.2434, allocations: 23.98 kB / 0.7857 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.2434, allocations: 4 kB / 0.7857 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.018e-05/0.2435, allocations: 31.91 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.2436, allocations: 87.78 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2436, allocations: 0 / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2436, allocations: 4 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2437, allocations: 0 / 0.7858 GB, free: 11.07 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.0005005/0.2442, allocations: 369.4 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2442, allocations: 12.03 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.2443, allocations: 38.69 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.2443, allocations: 12.84 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.2444, allocations: 172.3 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.2444, allocations: 4.359 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.2445, allocations: 4.375 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.615e-05/0.2446, allocations: 46.19 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2446, allocations: 3.938 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.2446, allocations: 0 / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.2446, allocations: 3.938 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.888e-05/0.2447, allocations: 12 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.2451, allocations: 288.9 kB / 0.7867 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.348e-05/0.2451, allocations: 34.45 kB / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.2452, allocations: 12.91 kB / 0.7868 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.2452, allocations: 0 / 0.7868 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.2453, allocations: 59.39 kB / 0.7868 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.2454, allocations: 4 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001897/0.2456, allocations: 81.52 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.2456, allocations: 51.41 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.94e-05/0.2457, allocations: 109.8 kB / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.2457, allocations: 33.7 kB / 0.7871 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.2458, allocations: 80.14 kB / 0.7872 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.2458, allocations: 7.906 kB / 0.7872 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.2459, allocations: 33.7 kB / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.246, allocations: 318.8 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.528e-05/0.246, allocations: 31.98 kB / 0.7875 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.856e-05/0.2461, allocations: 46.56 kB / 0.7876 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.2463, allocations: 88.14 kB / 0.7877 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2463, allocations: 0 / 0.7877 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002441/0.2465, allocations: 159.3 kB / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.2466, allocations: 37.69 kB / 0.7878 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.2466, allocations: 4 kB / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2466, allocations: 0 / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-05/0.2467, allocations: 4 kB / 0.7879 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.2467, allocations: 0 / 0.7879 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.2469, allocations: 23.97 kB / 0.7879 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.2469, allocations: 8 kB / 0.7879 GB, free: 8.641 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: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.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.482e-05/0.247, allocations: 122.5 kB / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.247, allocations: 4 kB / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.247, allocations: 11.84 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.247, allocations: 0 / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2471, allocations: 4 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2471, allocations: 3.938 kB / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.2472, allocations: 169.5 kB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2472, allocations: 7.938 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.632e-05/0.2472, allocations: 0 / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2472, allocations: 4 kB / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.2473, allocations: 0 / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.2473, allocations: 4 kB / 0.7882 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2473, allocations: 0 / 0.7882 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.2474, allocations: 90.11 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.2474, allocations: 77.11 kB / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.2475, allocations: 0 / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.631e-05/0.2475, allocations: 4 kB / 0.7884 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.2475, allocations: 7.984 kB / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.2475, allocations: 0 / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.343e-05/0.2476, allocations: 87.28 kB / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.723e-06/0.2476, allocations: 0 / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002226/0.2478, allocations: 19.94 kB / 0.7885 GB, free: 7.934 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,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.0004754/0.2483, allocations: 0.6318 MB / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002137/0.2485, allocations: 127.6 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2485, allocations: 0 / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.515e-05/0.2486, allocations: 15.98 kB / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.2488, allocations: 8.125 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.2502, allocations: 1.397 MB / 0.7906 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.2504, allocations: 0.6807 MB / 0.7913 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.126e-05/0.2504, allocations: 4 kB / 0.7913 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.2505, allocations: 11.44 kB / 0.7913 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.2505, allocations: 0 / 0.7913 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.2691, allocations: 2.01 MB / 0.7932 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/7.975, allocations: 0.5 kB / 0.7932 GB, free: 3.004 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)