Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.784/1.784, allocations: 288.2 MB / 303.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001202/0.001202, allocations: 191.8 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.4 MB / 0.6305 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008631/0.0008631, allocations: 108.7 kB / 0.7439 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003829, allocations: 15.84 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2133, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0006871/0.214, allocations: 346.2 kB / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.2151, allocations: 1.068 MB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.2152, allocations: 0 / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.2152, allocations: 0 / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.244e-05/0.2153, allocations: 7.938 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.2157, allocations: 105.9 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.2157, allocations: 43.92 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.721e-05/0.2158, allocations: 8 kB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.281e-05/0.2159, allocations: 31.92 kB / 0.981 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.216, allocations: 31.88 kB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.216, allocations: 4 kB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.309e-05/0.216, allocations: 16 kB / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.2161, allocations: 7.922 kB / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.2161, allocations: 33.7 kB / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.996e-05/0.2162, allocations: 59.86 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2162, allocations: 0 / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2162, allocations: 0 / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2162, allocations: 3.938 kB / 0.9812 GB, free: 25.81 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.0003271/0.2166, allocations: 365.2 kB / 0.9815 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.2166, allocations: 8.031 kB / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.598e-05/0.2167, allocations: 38.56 kB / 0.9816 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.2167, allocations: 4 kB / 0.9816 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.682e-05/0.2168, allocations: 174.9 kB / 0.9818 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.2168, allocations: 4 kB / 0.9818 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.2168, allocations: 4 kB / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.268e-05/0.2169, allocations: 37.69 kB / 0.9818 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2169, allocations: 0 / 0.9818 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.2169, allocations: 8 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2169, allocations: 0 / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.298e-05/0.217, allocations: 11.94 kB / 0.9818 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.2173, allocations: 292.8 kB / 0.9821 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.969e-05/0.2173, allocations: 26.58 kB / 0.9821 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.2174, allocations: 0 / 0.9821 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.2175, allocations: 63.45 kB / 0.9822 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2175, allocations: 3.938 kB / 0.9822 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000164/0.2177, allocations: 65.86 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.2177, allocations: 55.41 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.103e-05/0.2178, allocations: 109.8 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.2178, allocations: 29.7 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.2178, allocations: 88.14 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.198e-06/0.2178, allocations: 3.906 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.2179, allocations: 8 kB / 0.9825 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.486e-05/0.2179, allocations: 322.8 kB / 0.9828 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.067e-05/0.218, allocations: 27.98 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.565e-05/0.2181, allocations: 54.53 kB / 0.9829 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.578e-05/0.2181, allocations: 65.56 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2181, allocations: 7.938 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000192/0.2183, allocations: 147.3 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.2184, allocations: 43.56 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2184, allocations: 64 / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2184, allocations: 4 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.781e-05/0.2185, allocations: 4 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2185, allocations: 0 / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.2187, allocations: 43.94 kB / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.2187, allocations: 4 kB / 0.9832 GB, free: 23.47 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: 5 ($whenCondition1,$whenCondition2,booToInt.y,$PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.49e-05/0.2188, allocations: 121.8 kB / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-06/0.2188, allocations: 4 kB / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.2188, allocations: 3.906 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2188, allocations: 0 / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2189, allocations: 0 / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2189, allocations: 0 / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.723e-05/0.2189, allocations: 173.6 kB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.219, allocations: 0 / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.496e-05/0.219, allocations: 7.938 kB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.219, allocations: 0 / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.219, allocations: 0 / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.219, allocations: 0 / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.219, allocations: 0 / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.354e-05/0.2191, allocations: 88.97 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.2191, allocations: 89.11 kB / 0.9837 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.2191, allocations: 0 / 0.9837 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.387e-05/0.2192, allocations: 0 / 0.9837 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.2192, allocations: 3.984 kB / 0.9837 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.2192, allocations: 4 kB / 0.9837 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.336e-05/0.2192, allocations: 83.28 kB / 0.9838 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2192, allocations: 0 / 0.9838 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001962/0.2194, allocations: 16 kB / 0.9838 GB, free: 22.79 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002324/0.2197, allocations: 0.6346 MB / 0.9844 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.2198, allocations: 127.3 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2199, allocations: 0 / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.983e-05/0.2199, allocations: 19.92 kB / 0.9846 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.22, allocations: 7.938 kB / 0.9846 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.2204, allocations: 0.6479 MB / 0.9852 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.646e-05/0.2205, allocations: 0.6887 MB / 0.9859 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.024e-05/0.2206, allocations: 4 kB / 0.9859 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.2206, allocations: 15.38 kB / 0.9859 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.2206, allocations: 0 / 0.9859 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.2327, allocations: 1.753 MB / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/0.2329, allocations: 213.7 kB / 0.9878 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.467/1.7, allocations: 0 / 0.9878 GB, free: 18.71 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)