Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.542/2.542, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.001408/0.001408, allocations: 186.3 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009693/0.0009689, allocations: 90.28 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.000492, allocations: 11.88 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2075, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0008104/0.2084, allocations: 345.9 kB / 0.9788 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.2099, allocations: 1.087 MB / 0.9799 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.21, allocations: 0 / 0.9799 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.2101, allocations: 0 / 0.9799 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.735e-05/0.2101, allocations: 11.94 kB / 0.9799 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005673/0.2107, allocations: 109.1 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.2109, allocations: 67.89 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.501e-05/0.2109, allocations: 11.88 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.096e-05/0.211, allocations: 23.98 kB / 0.9801 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.245e-05/0.2111, allocations: 31.88 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.2112, allocations: 4 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.882e-05/0.2113, allocations: 12 kB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.2113, allocations: 11.98 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.2113, allocations: 37.64 kB / 0.9802 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.2115, allocations: 51.88 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2115, allocations: 0 / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2115, allocations: 0 / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2115, allocations: 0 / 0.9802 GB, free: 26.47 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.0003567/0.2119, allocations: 369.2 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.2119, allocations: 12.02 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.212, allocations: 34.56 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.212, allocations: 4 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.773e-05/0.2121, allocations: 182.8 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.2121, allocations: 4 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.2122, allocations: 4 kB / 0.9808 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.895e-05/0.2123, allocations: 37.69 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2123, allocations: 3.984 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.2123, allocations: 4 kB / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2123, allocations: 3.938 kB / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.855e-05/0.2124, allocations: 8 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.2128, allocations: 296.8 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.019e-05/0.2129, allocations: 26.64 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.213, allocations: 8.844 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.213, allocations: 4 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.2132, allocations: 67.33 kB / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.395e-06/0.2132, allocations: 8 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002384/0.2134, allocations: 61.69 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.2135, allocations: 51.41 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.525e-05/0.2135, allocations: 113.7 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.2136, allocations: 33.7 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.2136, allocations: 88.08 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.2137, allocations: 11.84 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.535e-05/0.2137, allocations: 3.938 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.871e-05/0.2138, allocations: 318.8 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.2139, allocations: 35.98 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.214, allocations: 46.56 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.2141, allocations: 57.69 kB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2142, allocations: 0 / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003495/0.2145, allocations: 147.3 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.2146, allocations: 37.69 kB / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2146, allocations: 4.062 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2146, allocations: 0 / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.2147, allocations: 4 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2147, allocations: 0 / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/0.2151, allocations: 43.83 kB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.2151, allocations: 16.05 kB / 0.9823 GB, free: 24.1 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 8.878e-05/0.2152, allocations: 117.8 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.2153, allocations: 4 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.2153, allocations: 7.906 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2153, allocations: 0 / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2153, allocations: 0 / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2153, allocations: 0 / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.2155, allocations: 173.6 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2155, allocations: 0 / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.2155, allocations: 4 kB / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.2155, allocations: 4 kB / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.2155, allocations: 0 / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2155, allocations: 3.984 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.2156, allocations: 0 / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.2157, allocations: 84.98 kB / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.2158, allocations: 81.11 kB / 0.9827 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.2158, allocations: 3.938 kB / 0.9827 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.405e-05/0.2158, allocations: 288 / 0.9827 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.2159, allocations: 7.984 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.2159, allocations: 8 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.2159, allocations: 79.28 kB / 0.9828 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2159, allocations: 3.938 kB / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002955/0.2162, allocations: 23.98 kB / 0.9828 GB, free: 23.41 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.0004033/0.2167, allocations: 0.6318 MB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002791/0.217, allocations: 123.3 kB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.217, allocations: 0 / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/0.217, allocations: 16 kB / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.2173, allocations: 11.98 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.2184, allocations: 0.5177 MB / 0.9841 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.2185, allocations: 0.6809 MB / 0.9848 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.414e-05/0.2186, allocations: 0 / 0.9848 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.2186, allocations: 19.42 kB / 0.9848 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of SimCode: time 1.333e-06/0.2186, allocations: 4 kB / 0.9848 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.2417, allocations: 1.766 MB / 0.9865 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/0.242, allocations: 211.2 kB / 0.9867 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/2.736, allocations: 4 kB / 0.9867 GB, free: 19.46 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)