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.001115/0.001115, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 192 kB / 16.14 MB, free: 6.707 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.161/1.161, allocations: 205.1 MB / 222 MB, free: 4.773 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.551/1.551, allocations: 292.3 MB / 0.5484 GB, free: 13.63 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.001332/0.001333, allocations: 69.58 kB / 0.6709 GB, free: 26.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1776, allocations: 114.6 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00159/0.1792, allocations: 0.6826 MB / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1804, allocations: 1.118 MB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.1804, allocations: 0 / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.6e-05/0.1804, allocations: 3.984 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.784e-05/0.1805, allocations: 3.938 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.1808, allocations: 107 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.333e-05/0.1809, allocations: 79.88 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.806e-05/0.181, allocations: 7.984 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.081e-05/0.1811, allocations: 35.91 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.427e-05/0.1811, allocations: 27.91 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.1812, allocations: 4 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.074e-05/0.1812, allocations: 27.92 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.1813, allocations: 7.984 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.931e-05/0.1813, allocations: 23.92 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.1814, allocations: 79.78 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1814, allocations: 0 / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1814, allocations: 0 / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.795e-06/0.1815, allocations: 0 / 0.785 GB, free: 11.66 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.0003689/0.1818, allocations: 377.4 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.1819, allocations: 12.02 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.475e-05/0.1819, allocations: 38.75 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.1819, allocations: 12.84 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.249e-05/0.182, allocations: 164.3 kB / 0.7855 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1821, allocations: 4.375 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.1821, allocations: 4.375 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.486e-05/0.1822, allocations: 46.19 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1822, allocations: 3.938 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.1822, allocations: 0 / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1822, allocations: 4 kB / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.283e-05/0.1822, allocations: 11.98 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.1826, allocations: 284.9 kB / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.424e-05/0.1826, allocations: 38.44 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.1826, allocations: 12.92 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.1827, allocations: 7.875 kB / 0.7859 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.1828, allocations: 71.39 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1828, allocations: 0 / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001719/0.183, allocations: 65.59 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.183, allocations: 51.41 kB / 0.7861 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/0.1831, allocations: 117.8 kB / 0.7862 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1831, allocations: 29.7 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.1832, allocations: 92.11 kB / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.956e-06/0.1832, allocations: 7.906 kB / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.1832, allocations: 33.7 kB / 0.7864 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.1833, allocations: 314.8 kB / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.1834, allocations: 31.98 kB / 0.7867 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.285e-05/0.1835, allocations: 46.55 kB / 0.7868 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.865e-05/0.1836, allocations: 96.14 kB / 0.7868 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1836, allocations: 0 / 0.7868 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002294/0.1838, allocations: 151.2 kB / 0.787 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.1839, allocations: 33.7 kB / 0.787 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1839, allocations: 0 / 0.787 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.1839, allocations: 4 kB / 0.787 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.525e-05/0.1839, allocations: 3.984 kB / 0.787 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.184, allocations: 4 kB / 0.787 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.1841, allocations: 28.03 kB / 0.7871 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.1842, allocations: 8 kB / 0.7871 GB, free: 9.219 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 6.952e-05/0.1842, allocations: 117.8 kB / 0.7872 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.1843, allocations: 4 kB / 0.7872 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.1843, allocations: 7.906 kB / 0.7872 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1843, allocations: 0 / 0.7872 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1843, allocations: 4.062 kB / 0.7872 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1843, allocations: 0 / 0.7872 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.1844, allocations: 173.5 kB / 0.7874 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1844, allocations: 0 / 0.7874 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.651e-05/0.1844, allocations: 4.234 kB / 0.7874 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1844, allocations: 3.938 kB / 0.7874 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.1845, allocations: 0 / 0.7874 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1845, allocations: 0 / 0.7874 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1845, allocations: 3.938 kB / 0.7874 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.1846, allocations: 96.97 kB / 0.7875 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.1846, allocations: 85.11 kB / 0.7875 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.1846, allocations: 0 / 0.7875 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.339e-05/0.1846, allocations: 0 / 0.7875 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.1847, allocations: 4 kB / 0.7875 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1847, allocations: 0 / 0.7875 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.682e-05/0.1847, allocations: 87.27 kB / 0.7876 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1847, allocations: 0 / 0.7876 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001907/0.1849, allocations: 20 kB / 0.7877 GB, free: 8.516 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.0003392/0.1853, allocations: 0.6357 MB / 0.7883 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001825/0.1855, allocations: 127.3 kB / 0.7884 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1855, allocations: 0 / 0.7884 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.053e-05/0.1855, allocations: 19.98 kB / 0.7884 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.1857, allocations: 4 kB / 0.7884 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.1869, allocations: 1.39 MB / 0.7898 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.1871, allocations: 0.6837 MB / 0.7904 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.802e-05/0.1871, allocations: 3.984 kB / 0.7904 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.1871, allocations: 15.44 kB / 0.7905 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1871, allocations: 7.938 kB / 0.7905 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.801/2.988, allocations: 1.833 MB / 0.7923 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/2.988, allocations: 214.5 kB / 0.7925 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/4.541, allocations: 7.656 kB / 0.7925 GB, free: 3.512 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)