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.0008894/0.0008893, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00542/0.00542, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.474/1.474, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.682/1.682, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.000776/0.000776, allocations: 18.83 kB / 0.6744 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2653, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001486/0.2669, allocations: 0.9353 MB / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007982/0.2677, allocations: 376.8 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.2677, allocations: 0 / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.733e-05/0.2678, allocations: 0 / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.705e-05/0.2678, allocations: 4 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.2683, allocations: 79.78 kB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.806e-05/0.2683, allocations: 15.98 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.2684, allocations: 0 / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.424e-05/0.2684, allocations: 7.938 kB / 0.7894 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.971e-05/0.2684, allocations: 7.984 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.2685, allocations: 3.938 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.2687, allocations: 87.91 kB / 0.7895 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.2687, allocations: 4 kB / 0.7895 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.2687, allocations: 33.64 kB / 0.7895 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.2689, allocations: 99.75 kB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2689, allocations: 0 / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.542e-06/0.2689, allocations: 3.938 kB / 0.7896 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2689, allocations: 0 / 0.7896 GB, free: 9.816 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.0004579/0.2694, allocations: 369.5 kB / 0.79 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2695, allocations: 8.031 kB / 0.79 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.629e-05/0.2695, allocations: 34.66 kB / 0.79 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.2696, allocations: 4.938 kB / 0.79 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.2697, allocations: 164.4 kB / 0.7902 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.2697, allocations: 384 / 0.7902 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.2697, allocations: 8.359 kB / 0.7902 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.2698, allocations: 42.23 kB / 0.7902 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2698, allocations: 3.938 kB / 0.7902 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.2699, allocations: 4 kB / 0.7902 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2699, allocations: 0 / 0.7902 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.455e-05/0.2699, allocations: 7.938 kB / 0.7902 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.2702, allocations: 249 kB / 0.7905 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.503e-05/0.2703, allocations: 34.5 kB / 0.7905 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.2704, allocations: 16.94 kB / 0.7905 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.2704, allocations: 0 / 0.7905 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.2705, allocations: 63.34 kB / 0.7906 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.2706, allocations: 4 kB / 0.7906 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0001914/0.2708, allocations: 69.58 kB / 0.7906 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.2708, allocations: 55.41 kB / 0.7907 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.328e-05/0.2709, allocations: 97.8 kB / 0.7908 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2709, allocations: 29.7 kB / 0.7908 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.2709, allocations: 84.14 kB / 0.7909 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.271, allocations: 11.88 kB / 0.7909 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.271, allocations: 17.72 kB / 0.7909 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2711, allocations: 315 kB / 0.7912 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.2712, allocations: 15.98 kB / 0.7912 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-05/0.2712, allocations: 35.38 kB / 0.7913 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.206e-05/0.2713, allocations: 43.42 kB / 0.7913 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2713, allocations: 7.938 kB / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001104/0.2714, allocations: 77.47 kB / 0.7914 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.2714, allocations: 4 kB / 0.7914 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2714, allocations: 0 / 0.7914 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2715, allocations: 7.984 kB / 0.7914 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.876e-05/0.2715, allocations: 8.25 kB / 0.7914 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2715, allocations: 0 / 0.7914 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.2716, allocations: 7.938 kB / 0.7914 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.2716, allocations: 4 kB / 0.7914 GB, free: 7.684 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 9.541e-05/0.2717, allocations: 130.4 kB / 0.7915 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-06/0.2717, allocations: 0 / 0.7915 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.2717, allocations: 7.641 kB / 0.7916 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2717, allocations: 3.984 kB / 0.7916 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2717, allocations: 4 kB / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2718, allocations: 0 / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.272, allocations: 294.6 kB / 0.7918 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.272, allocations: 0 / 0.7918 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.829e-05/0.2721, allocations: 4 kB / 0.7918 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2721, allocations: 11.92 kB / 0.7919 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.2721, allocations: 0 / 0.7919 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2721, allocations: 0 / 0.7919 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2721, allocations: 4 kB / 0.7919 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.2723, allocations: 155.4 kB / 0.792 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.2723, allocations: 89.09 kB / 0.7921 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.2723, allocations: 0 / 0.7921 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.7e-05/0.2724, allocations: 0 / 0.7921 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.2724, allocations: 4 kB / 0.7921 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.2724, allocations: 7.938 kB / 0.7921 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.997e-05/0.2725, allocations: 75.28 kB / 0.7922 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2725, allocations: 0 / 0.7922 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002678/0.2727, allocations: 39.92 kB / 0.7922 GB, free: 6.766 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.0006815/0.2734, allocations: 0.7626 MB / 0.793 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.2735, allocations: 35.92 kB / 0.793 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2736, allocations: 0 / 0.793 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.457e-05/0.2736, allocations: 12 kB / 0.793 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.2738, allocations: 7.984 kB / 0.793 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.2748, allocations: 1.263 MB / 0.7942 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.2751, allocations: 0.6809 MB / 0.7949 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.021e-05/0.2752, allocations: 4 kB / 0.7949 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.2752, allocations: 15.44 kB / 0.7949 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.2752, allocations: 0 / 0.7949 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01103/0.2862, allocations: 1.648 MB / 0.7965 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.2865, allocations: 261.1 kB / 0.7968 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/1.995, allocations: 0 / 0.7968 GB, free: 2.07 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)