Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.837/2.837, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 174.6 kB / 325.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.469/2.469, allocations: 205.4 MB / 0.5764 GB, free: 20.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 90.58 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006552/0.0006552, allocations: 16.62 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.227, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2374/0.4645, allocations: 131.8 MB / 1.028 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/0.4649, allocations: 75.95 kB / 1.028 GB, free: 13.4 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01208/0.477, allocations: 2.326 MB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.305e-06/0.477, allocations: 0 / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.477, allocations: 0 / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006229/0.4777, allocations: 396.9 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.4777, allocations: 12.02 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.466e-05/0.4778, allocations: 34.56 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.4779, allocations: 11.86 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.478, allocations: 159.1 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.4781, allocations: 4 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.4781, allocations: 0 / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.4782, allocations: 46.53 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4783, allocations: 0 / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.4783, allocations: 12 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.4783, allocations: 0 / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.568e-05/0.4784, allocations: 11.89 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.4788, allocations: 253 kB / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.112e-05/0.4789, allocations: 26.58 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.479, allocations: 4 kB / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.4791, allocations: 67.39 kB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 1.943e-06/0.4791, allocations: 0 / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0003227/0.4795, allocations: 85.53 kB / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.4796, allocations: 59.39 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.305e-05/0.4797, allocations: 96.94 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.4797, allocations: 29.7 kB / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.4798, allocations: 84.14 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.4798, allocations: 23.78 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.4798, allocations: 0 / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.48, allocations: 314.8 kB / 1.032 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.949e-05/0.48, allocations: 15.92 kB / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.206e-05/0.4801, allocations: 40.23 kB / 1.032 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.605e-05/0.4802, allocations: 19.98 kB / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4802, allocations: 0 / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001835/0.4804, allocations: 77.56 kB / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.4804, allocations: 9.875 kB / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.4805, allocations: 0 / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.4805, allocations: 4 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.4806, allocations: 11.98 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4806, allocations: 3.953 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.4807, allocations: 12 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.4807, allocations: 4 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001127/0.4808, allocations: 117.7 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.4809, allocations: 4 kB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.4809, allocations: 7.953 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4809, allocations: 0 / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4809, allocations: 0 / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.4809, allocations: 7.953 kB / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.4814, allocations: 302.6 kB / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4814, allocations: 0 / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.4815, allocations: 8.5 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.4815, allocations: 4 kB / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.4815, allocations: 0 / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4815, allocations: 0 / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.4816, allocations: 7.953 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.4818, allocations: 175.4 kB / 1.032 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.4819, allocations: 81.11 kB / 1.032 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.4819, allocations: 4 kB / 1.032 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.06e-05/0.482, allocations: 0 / 1.032 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.482, allocations: 7.938 kB / 1.032 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.482, allocations: 4 kB / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.348e-05/0.4821, allocations: 83.28 kB / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4821, allocations: 0 / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004646/0.4826, allocations: 43.98 kB / 1.033 GB, free: 7.996 MB / 0.6823 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001113/0.4837, allocations: 0.7949 MB / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.4839, allocations: 31.92 kB / 1.033 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.661e-05/0.484, allocations: 4.188 kB / 1.033 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.856e-05/0.484, allocations: 20.3 kB / 1.033 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.4842, allocations: 8 kB / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.4854, allocations: 0.9727 MB / 1.034 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.4857, allocations: 0.6951 MB / 1.035 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.789e-05/0.4858, allocations: 4 kB / 1.035 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.4858, allocations: 15.44 kB / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of SimCode: time 9.12e-07/0.4858, allocations: 0 / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.5135, allocations: 2.012 MB / 1.037 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003525/0.514, allocations: 224.4 kB / 1.037 GB, free: 3.211 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/2.855, allocations: 5.812 kB / 1.037 GB, free: 3.207 MB / 0.6823 GB