Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.BooleanToReal,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.548/2.548, allocations: 287.5 MB / 302.4 MB, free: 8.227 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.001286/0.001286, allocations: 186 kB / 371 MB, free: 10.84 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.137/2.137, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.001559/0.001559, allocations: 94.3 kB / 0.743 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004787, allocations: 11.72 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2093, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0008359/0.2102, allocations: 341.9 kB / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.2118, allocations: 1.091 MB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.2119, allocations: 0 / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.2119, allocations: 0 / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.212, allocations: 7.922 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005646/0.2126, allocations: 110.2 kB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.2127, allocations: 67.89 kB / 0.98 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.526e-05/0.2128, allocations: 4 kB / 0.98 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.658e-05/0.2129, allocations: 31.91 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.213, allocations: 27.91 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.213, allocations: 4 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.723e-05/0.2131, allocations: 15.98 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.2131, allocations: 3.984 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.341e-05/0.2132, allocations: 41.64 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.2133, allocations: 51.86 kB / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2133, allocations: 4 kB / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2133, allocations: 0 / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2133, allocations: 0 / 0.9802 GB, free: 26.42 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.000362/0.2137, allocations: 369.2 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2138, allocations: 16.02 kB / 0.9806 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.054e-05/0.2138, allocations: 30.56 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.2139, allocations: 4 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.681e-05/0.214, allocations: 178.8 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.214, allocations: 4 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.214, allocations: 8 kB / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.853e-05/0.2142, allocations: 41.69 kB / 0.9808 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2142, allocations: 0 / 0.9808 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.2142, allocations: 0 / 0.9808 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2142, allocations: 0 / 0.9808 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.978e-05/0.2143, allocations: 11.94 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.2147, allocations: 296.8 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.065e-05/0.2148, allocations: 30.58 kB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.2148, allocations: 12.91 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.2148, allocations: 0 / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.215, allocations: 67.34 kB / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.874e-06/0.215, allocations: 3.938 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002367/0.2153, allocations: 65.86 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.2153, allocations: 55.41 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.932e-05/0.2154, allocations: 117.7 kB / 0.9815 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.2155, allocations: 29.7 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.2155, allocations: 84.14 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.2155, allocations: 11.89 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/0.2156, allocations: 4 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.2156, allocations: 314.8 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.2158, allocations: 35.92 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.2159, allocations: 58.55 kB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.216, allocations: 57.69 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.216, allocations: 0 / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003396/0.2164, allocations: 143.3 kB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.2164, allocations: 37.69 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2164, allocations: 0 / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.2165, allocations: 4 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.2165, allocations: 4.062 kB / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2166, allocations: 4.062 kB / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.2169, allocations: 50.36 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.217, allocations: 7.984 kB / 0.9823 GB, free: 24.04 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,$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 9.08e-05/0.2171, allocations: 117.8 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.2171, allocations: 8 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.2171, allocations: 3.906 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2171, allocations: 0 / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2172, allocations: 0 / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2172, allocations: 0 / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.2173, allocations: 169.6 kB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2173, allocations: 0 / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/0.2173, allocations: 4 kB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2173, allocations: 0 / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2174, allocations: 0 / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2174, allocations: 3.984 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2174, allocations: 4 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.2175, allocations: 88.98 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.2176, allocations: 81.05 kB / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.2176, allocations: 0 / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.159e-05/0.2176, allocations: 3.938 kB / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.2177, allocations: 11.92 kB / 0.9827 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.2177, allocations: 4 kB / 0.9828 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.69e-05/0.2177, allocations: 83.28 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2177, allocations: 4 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002691/0.218, allocations: 23.92 kB / 0.9829 GB, free: 23.35 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 (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.0003773/0.2184, allocations: 0.6202 MB / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000274/0.2187, allocations: 127.3 kB / 0.9836 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2187, allocations: 4.125 kB / 0.9836 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/0.2188, allocations: 12 kB / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.219, allocations: 14.17 kB / 0.9836 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.22, allocations: 0.5137 MB / 0.9841 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.2202, allocations: 0.6809 MB / 0.9848 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.95e-05/0.2202, allocations: 4 kB / 0.9848 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.2203, allocations: 15.42 kB / 0.9848 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of SimCode: time 1.102e-06/0.2203, allocations: 3.938 kB / 0.9848 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.2454, allocations: 1.778 MB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002694/0.2457, allocations: 205 kB / 0.9867 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/2.765, allocations: 0 / 0.9867 GB, free: 19.4 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)