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.BooleanToReal.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.BooleanToReal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.469/1.469, allocations: 288.4 MB / 303.6 MB, free: 8.098 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.0008723/0.0008723, allocations: 191.2 kB / 372.3 MB, free: 10.13 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.287/1.287, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0007445/0.0007445, allocations: 94.28 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004015, allocations: 12.66 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1723, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0006161/0.173, allocations: 350.1 kB / 0.9805 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.174, allocations: 1.091 MB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.1741, allocations: 0 / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.1741, allocations: 0 / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.618e-05/0.1742, allocations: 3.938 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.1746, allocations: 111.5 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.058e-05/0.1747, allocations: 71.81 kB / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.595e-05/0.1748, allocations: 8 kB / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.028e-05/0.1748, allocations: 27.92 kB / 0.9818 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.525e-05/0.1749, allocations: 27.91 kB / 0.9818 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.1749, allocations: 4 kB / 0.9818 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.069e-05/0.175, allocations: 19.97 kB / 0.9819 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.175, allocations: 3.984 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.1751, allocations: 53.62 kB / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.786e-05/0.1752, allocations: 59.86 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1752, allocations: 0 / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1752, allocations: 4 kB / 0.982 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.1752, allocations: 4 kB / 0.982 GB, free: 25.4 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.0003321/0.1755, allocations: 359.5 kB / 0.9823 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1756, allocations: 12.03 kB / 0.9823 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.265e-05/0.1756, allocations: 34.73 kB / 0.9824 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.1757, allocations: 8.938 kB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.598e-05/0.1758, allocations: 172.2 kB / 0.9825 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.1758, allocations: 384 / 0.9825 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.1758, allocations: 12.31 kB / 0.9825 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.24e-05/0.1759, allocations: 38.25 kB / 0.9826 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1759, allocations: 7.938 kB / 0.9826 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1759, allocations: 0 / 0.9826 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1759, allocations: 0 / 0.9826 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.707e-05/0.176, allocations: 11.98 kB / 0.9826 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.1763, allocations: 284.9 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.86e-05/0.1764, allocations: 38.44 kB / 0.9829 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.1764, allocations: 20.86 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.1764, allocations: 0 / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.1766, allocations: 63.39 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.1766, allocations: 0 / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001783/0.1768, allocations: 69.53 kB / 0.9831 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.1768, allocations: 55.41 kB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.014e-05/0.1768, allocations: 109.8 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1769, allocations: 29.7 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.1769, allocations: 88.12 kB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.198e-05/0.1769, allocations: 11.89 kB / 0.9833 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-06/0.1769, allocations: 4 kB / 0.9833 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.114e-05/0.177, allocations: 314.8 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.566e-05/0.177, allocations: 27.98 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.283e-05/0.1771, allocations: 54.55 kB / 0.9837 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.98e-05/0.1772, allocations: 96.08 kB / 0.9838 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1772, allocations: 0 / 0.9838 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000195/0.1774, allocations: 147.2 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.1775, allocations: 37.7 kB / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1775, allocations: 4 kB / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1775, allocations: 0 / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.727e-05/0.1775, allocations: 0 / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1775, allocations: 7.984 kB / 0.984 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.1778, allocations: 36.03 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.1778, allocations: 4 kB / 0.984 GB, free: 23.01 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 5.991e-05/0.1779, allocations: 127.3 kB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.1779, allocations: 0 / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.1779, allocations: 12.12 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.1779, allocations: 11.92 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1779, allocations: 0 / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1779, allocations: 0 / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.713e-05/0.178, allocations: 169.6 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.178, allocations: 0 / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.475e-05/0.178, allocations: 64 / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.178, allocations: 4 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.178, allocations: 4 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.178, allocations: 4.328 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.178, allocations: 0 / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.595e-05/0.1781, allocations: 89 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.1782, allocations: 81.09 kB / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.1782, allocations: 0 / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.442e-05/0.1782, allocations: 8 kB / 0.9845 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.1782, allocations: 0 / 0.9845 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.1782, allocations: 0 / 0.9845 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.36e-05/0.1783, allocations: 95.19 kB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1783, allocations: 4 kB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000192/0.1785, allocations: 23.94 kB / 0.9846 GB, free: 22.3 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.0002432/0.1787, allocations: 0.628 MB / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001645/0.1789, allocations: 119.3 kB / 0.9854 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1789, allocations: 128 / 0.9854 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.104e-05/0.1789, allocations: 23.98 kB / 0.9854 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.1791, allocations: 8.75 kB / 0.9854 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006248/0.1798, allocations: 0.5136 MB / 0.9859 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.676e-05/0.1799, allocations: 0.6848 MB / 0.9866 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.692e-05/0.1799, allocations: 3.984 kB / 0.9866 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.1799, allocations: 15.44 kB / 0.9866 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.1799, allocations: 0 / 0.9866 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/0.1925, allocations: 1.777 MB / 0.9883 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/0.1927, allocations: 219.5 kB / 0.9885 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.425/1.618, allocations: 0 / 0.9885 GB, free: 18.33 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)