Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.513/2.513, allocations: 251 MB / 265.9 MB, free: 11.7 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.002283/0.002284, allocations: 189.2 kB / 325.5 MB, free: 2.926 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.517/2.517, allocations: 205.4 MB / 0.5764 GB, free: 21.16 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.001124/0.001123, allocations: 98.7 kB / 0.6809 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004913, allocations: 15.88 kB / 0.795 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2248, allocations: 106.3 MB / 0.8988 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2303/0.4552, allocations: 131.8 MB / 1.028 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.4556, allocations: 71.95 kB / 1.028 GB, free: 13.96 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.01054/0.4661, allocations: 2.267 MB / 1.03 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4661, allocations: 0 / 1.03 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.4662, allocations: 0 / 1.03 GB, free: 11.69 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005155/0.4667, allocations: 384.9 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.4668, allocations: 12.03 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.071e-05/0.4668, allocations: 38.55 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.4669, allocations: 7.859 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.467, allocations: 167 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.4671, allocations: 4 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.4671, allocations: 0 / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.4672, allocations: 46.72 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.4672, allocations: 0 / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.4673, allocations: 0 / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4673, allocations: 0 / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.446e-05/0.4673, allocations: 8 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.4677, allocations: 248.9 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.4679, allocations: 38.5 kB / 1.031 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-05/0.4679, allocations: 0 / 1.031 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.4681, allocations: 63.44 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.834e-06/0.4681, allocations: 4 kB / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0002732/0.4684, allocations: 69.61 kB / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.4684, allocations: 63.36 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.667e-05/0.4685, allocations: 92.98 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.4686, allocations: 25.7 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.4686, allocations: 84.14 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.4687, allocations: 11.81 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.4687, allocations: 8 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4688, allocations: 314.8 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.122e-05/0.4689, allocations: 8 kB / 1.031 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.146e-05/0.4689, allocations: 31.42 kB / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.453e-05/0.469, allocations: 12 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.469, allocations: 4 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001576/0.4692, allocations: 73.84 kB / 1.032 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.4692, allocations: 11.98 kB / 1.032 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4692, allocations: 3.984 kB / 1.032 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4692, allocations: 4 kB / 1.032 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.518e-05/0.4693, allocations: 7.938 kB / 1.032 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.4694, allocations: 4 kB / 1.032 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.3e-05/0.4694, allocations: 7.859 kB / 1.032 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.4694, allocations: 4.25 kB / 1.032 GB, free: 9.625 MB / 0.6823 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 ($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 (8): * Single equations (assignments): 8 * 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.0001025/0.4695, allocations: 121.8 kB / 1.032 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.4696, allocations: 0 / 1.032 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.4696, allocations: 7.547 kB / 1.032 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4696, allocations: 4 kB / 1.032 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4696, allocations: 4 kB / 1.032 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4696, allocations: 0 / 1.032 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/0.47, allocations: 306.5 kB / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.47, allocations: 0 / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.4701, allocations: 4 kB / 1.032 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4701, allocations: 4 kB / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.4701, allocations: 7.938 kB / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4701, allocations: 0 / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4701, allocations: 3.953 kB / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.4704, allocations: 159.4 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.4704, allocations: 81.05 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.4705, allocations: 4 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.4705, allocations: 0 / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.4706, allocations: 8 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.4706, allocations: 7.938 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.832e-05/0.4706, allocations: 79.28 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4707, allocations: 0 / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004213/0.4711, allocations: 40 kB / 1.032 GB, free: 8.699 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 (5): * Single equations (assignments): 3 * 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.0009878/0.4721, allocations: 0.7874 MB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.4723, allocations: 32.16 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4723, allocations: 0 / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.214e-05/0.4724, allocations: 16 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.4725, allocations: 3.938 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000894/0.4734, allocations: 0.8264 MB / 1.034 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.4737, allocations: 0.677 MB / 1.035 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.226e-05/0.4738, allocations: 7.984 kB / 1.035 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.4738, allocations: 19.38 kB / 1.035 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of SimCode: time 9.31e-07/0.4738, allocations: 0 / 1.035 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.4941, allocations: 1.928 MB / 1.037 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/0.4944, allocations: 227.8 kB / 1.037 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.511/3.005, allocations: 0 / 1.037 GB, free: 4.18 MB / 0.6823 GB