Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",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.001415/0.001415, 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.001686/0.001686, allocations: 195.6 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.239/1.239, allocations: 205.1 MB / 222 MB, free: 4.996 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.604/1.604, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001381/0.001381, allocations: 71.45 kB / 0.6709 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.174, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002008/0.1761, allocations: 1.286 MB / 0.784 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006732/0.1768, allocations: 384.8 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.1768, allocations: 0 / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.1768, allocations: 0 / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.523e-05/0.1769, allocations: 3.938 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.1772, allocations: 83.8 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.982e-05/0.1773, allocations: 11.98 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.127e-05/0.1773, allocations: 4 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.776e-05/0.1773, allocations: 7.984 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.136e-05/0.1774, allocations: 0 / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1774, allocations: 7.938 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.1776, allocations: 91.84 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.1776, allocations: 3.984 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.1776, allocations: 11.98 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1778, allocations: 83.83 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1778, allocations: 4 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.244e-06/0.1778, allocations: 0 / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.835e-06/0.1778, allocations: 3.938 kB / 0.7847 GB, free: 11.95 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.0003908/0.1782, allocations: 377.4 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1782, allocations: 11.97 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.809e-05/0.1783, allocations: 34.75 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.1783, allocations: 0.9375 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.991e-05/0.1784, allocations: 160.4 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.1784, allocations: 8.375 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.1784, allocations: 4.375 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.93e-05/0.1785, allocations: 42.23 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1785, allocations: 3.938 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.1786, allocations: 0 / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1786, allocations: 3.938 kB / 0.7853 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.206e-05/0.1786, allocations: 11.94 kB / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.1789, allocations: 245 kB / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.521e-05/0.179, allocations: 38.5 kB / 0.7856 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.179, allocations: 16.86 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.179, allocations: 0 / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.1792, allocations: 63.42 kB / 0.7857 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1792, allocations: 0 / 0.7857 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0001762/0.1793, allocations: 77.58 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.1794, allocations: 55.41 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.109e-05/0.1794, allocations: 89.86 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.1795, allocations: 33.7 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.1795, allocations: 80.14 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.1795, allocations: 3.906 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.1796, allocations: 29.7 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.893e-05/0.1797, allocations: 315 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.1797, allocations: 7.984 kB / 0.7863 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.653e-05/0.1797, allocations: 39.38 kB / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.361e-05/0.1798, allocations: 51.41 kB / 0.7864 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1798, allocations: 3.938 kB / 0.7864 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.905e-05/0.1799, allocations: 81.47 kB / 0.7865 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.1799, allocations: 6.656 kB / 0.7865 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1799, allocations: 256 / 0.7865 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.1799, allocations: 4 kB / 0.7865 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.329e-05/0.18, allocations: 11.98 kB / 0.7865 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.18, allocations: 4 kB / 0.7865 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.18, allocations: 3.938 kB / 0.7865 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1801, allocations: 4 kB / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 7.151e-05/0.1801, allocations: 126.4 kB / 0.7867 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-06/0.1801, allocations: 3.938 kB / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/0.1802, allocations: 7.547 kB / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1802, allocations: 0 / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1802, allocations: 0 / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-06/0.1802, allocations: 4 kB / 0.7867 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.1804, allocations: 294.5 kB / 0.787 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1804, allocations: 0 / 0.787 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.647e-05/0.1804, allocations: 7.938 kB / 0.787 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1805, allocations: 0 / 0.787 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1805, allocations: 15.92 kB / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1805, allocations: 0 / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1805, allocations: 0 / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.1806, allocations: 155.5 kB / 0.7871 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.1807, allocations: 81.09 kB / 0.7872 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.1807, allocations: 8 kB / 0.7872 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.928e-05/0.1807, allocations: 0 / 0.7872 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.1807, allocations: 0 / 0.7872 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.1808, allocations: 8 kB / 0.7872 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.1808, allocations: 75.28 kB / 0.7873 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1808, allocations: 0 / 0.7873 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000262/0.1811, allocations: 39.92 kB / 0.7873 GB, free: 8.883 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: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005819/0.1817, allocations: 0.7625 MB / 0.7881 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.361e-05/0.1818, allocations: 35.92 kB / 0.7881 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.1818, allocations: 0 / 0.7881 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.1818, allocations: 12 kB / 0.7881 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.182, allocations: 10.33 kB / 0.7881 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008985/0.1829, allocations: 1.271 MB / 0.7894 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.1831, allocations: 0.677 MB / 0.79 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.1832, allocations: 4 kB / 0.79 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.1832, allocations: 7.438 kB / 0.79 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.1832, allocations: 4 kB / 0.7901 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01043/0.1936, allocations: 1.732 MB / 0.7917 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.1938, allocations: 257.8 kB / 0.792 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/1.834, allocations: 2.656 kB / 0.792 GB, free: 4.078 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)