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.633/2.633, allocations: 248.7 MB / 256.2 MB, free: 7.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001472, allocations: 178.1 kB / 315.4 MB, free: 3.973 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.32/2.32, allocations: 205.3 MB / 0.5662 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 90.52 kB / 0.6704 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.138e-05/2.136e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2043, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9029/1.107, allocations: 132 MB / 1.013 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.108, allocations: 76.7 kB / 1.013 GB, free: 6.73 MB / 0.6355 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.009903/1.117, allocations: 2.232 MB / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/1.118, allocations: 0 / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.823e-06/1.118, allocations: 0 / 1.015 GB, free: 4.832 MB / 0.6355 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.0004761/1.118, allocations: 383.5 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/1.118, allocations: 8.031 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/1.118, allocations: 7.953 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/1.118, allocations: 159.1 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/1.118, allocations: 7.938 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/1.118, allocations: 4 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.782e-05/1.118, allocations: 7.25 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.936e-05/1.118, allocations: 37.67 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.118, allocations: 2.5 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/1.119, allocations: 0 / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/1.119, allocations: 0 / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/1.119, allocations: 137.5 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.313e-05/1.119, allocations: 32.48 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/1.119, allocations: 8.859 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/1.119, allocations: 0 / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/1.119, allocations: 63.14 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.863e-06/1.119, allocations: 0 / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002026/1.119, allocations: 60.61 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/1.119, allocations: 55.41 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.222e-05/1.119, allocations: 89.75 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/1.119, allocations: 29.45 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/1.119, allocations: 84.12 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/1.119, allocations: 11.84 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/1.12, allocations: 0 / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.12, allocations: 318.1 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/1.12, allocations: 4 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.404e-05/1.12, allocations: 38.88 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/1.12, allocations: 15.42 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.12, allocations: 0 / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001407/1.12, allocations: 60.91 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.12, allocations: 11.94 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.12, allocations: 0 / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/1.12, allocations: 4.094 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.927e-05/1.12, allocations: 11.98 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/1.12, allocations: 0 / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.756e-05/1.12, allocations: 4 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/1.12, allocations: 0 / 1.017 GB, free: 3.035 MB / 0.6355 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.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.519e-05/1.12, allocations: 112.9 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000128/1.12, allocations: 56.28 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/1.121, allocations: 0 / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/1.121, allocations: 8.109 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/1.121, allocations: 4 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.121, allocations: 0 / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.121, allocations: 4 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/1.121, allocations: 137.4 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.121, allocations: 4.812 kB / 1.017 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.699e-05/1.121, allocations: 0 / 1.017 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.121, allocations: 0 / 1.017 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/1.121, allocations: 0 / 1.017 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/1.121, allocations: 4 kB / 1.017 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-06/1.121, allocations: 0 / 1.017 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/1.121, allocations: 96 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/1.121, allocations: 77.11 kB / 1.017 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/1.121, allocations: 0 / 1.017 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.083e-05/1.121, allocations: 0 / 1.017 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/1.121, allocations: 7.984 kB / 1.017 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/1.121, allocations: 0 / 1.017 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.667e-05/1.121, allocations: 83.03 kB / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.9e-07/1.121, allocations: 0 / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000399/1.122, allocations: 55.86 kB / 1.017 GB, free: 2.324 MB / 0.6355 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,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0008556/1.123, allocations: 0.7046 MB / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001271/1.123, allocations: 26.38 kB / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.123, allocations: 3.938 kB / 1.018 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.944e-05/1.123, allocations: 8 kB / 1.018 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/1.123, allocations: 9.859 kB / 1.018 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/1.123, allocations: 123.9 kB / 1.018 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/1.124, allocations: 0.6846 MB / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.909e-05/1.124, allocations: 8.188 kB / 1.019 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/1.124, allocations: 10.62 kB / 1.019 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/1.124, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03796/1.162, allocations: 1.619 MB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002848/1.162, allocations: 176.3 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.265/3.427, allocations: 1.688 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB