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.274/2.274, allocations: 248.5 MB / 261 MB, free: 6.082 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.001406/0.001406, allocations: 182.7 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.331/2.331, allocations: 205.2 MB / 0.571 GB, free: 11.75 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.001103/0.001103, allocations: 94.41 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.594e-05/3.611e-05, allocations: 0 / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2133, allocations: 106.2 MB / 0.8907 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8433/1.057, allocations: 131.8 MB / 1.019 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/1.057, allocations: 75.45 kB / 1.019 GB, free: 3.457 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.01407/1.071, allocations: 2.325 MB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.645e-06/1.071, allocations: 0 / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.115e-05/1.071, allocations: 0 / 1.022 GB, free: 1.457 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007867/1.072, allocations: 383.2 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.533e-05/1.072, allocations: 8.031 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/1.072, allocations: 38.31 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.712e-05/1.072, allocations: 7.859 kB / 1.022 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/1.072, allocations: 171.1 kB / 1.022 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/1.073, allocations: 0 / 1.022 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/1.073, allocations: 4 kB / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/1.073, allocations: 41.62 kB / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.073, allocations: 0 / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/1.073, allocations: 3.438 kB / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/1.073, allocations: 0 / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.669e-05/1.073, allocations: 15.89 kB / 1.022 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/1.073, allocations: 246.9 kB / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.906e-05/1.074, allocations: 30.06 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.765e-05/1.074, allocations: 22.73 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/1.074, allocations: 0 / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/1.074, allocations: 62.28 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 3.106e-06/1.074, allocations: 4 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003775/1.074, allocations: 71.38 kB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.798e-05/1.074, allocations: 55.41 kB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/1.075, allocations: 96.16 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/1.075, allocations: 28.83 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/1.075, allocations: 84.14 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/1.075, allocations: 23.09 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/1.075, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.075, allocations: 322.1 kB / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.606e-05/1.075, allocations: 7.375 kB / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/1.075, allocations: 47.66 kB / 1.023 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.64e-05/1.075, allocations: 11.98 kB / 1.023 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.075, allocations: 0 / 1.023 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000273/1.076, allocations: 84.05 kB / 1.023 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/1.076, allocations: 8 kB / 1.023 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.076, allocations: 4.125 kB / 1.023 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/1.076, allocations: 0 / 1.023 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/1.076, allocations: 15.94 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/1.076, allocations: 7.938 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.779e-05/1.076, allocations: 7.906 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/1.076, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 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 () * 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.0001356/1.076, allocations: 116.5 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/1.076, allocations: 4 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/1.076, allocations: 7.844 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.076, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.076, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.076, allocations: 3.953 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005303/1.077, allocations: 304.2 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/1.077, allocations: 0.875 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-05/1.077, allocations: 4 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/1.077, allocations: 7.984 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/1.077, allocations: 7.938 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/1.077, allocations: 3.953 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.077, allocations: 0 / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/1.077, allocations: 166 kB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/1.077, allocations: 81.09 kB / 1.024 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/1.077, allocations: 4 kB / 1.024 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/1.078, allocations: 3.312 kB / 1.024 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/1.078, allocations: 7.953 kB / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/1.078, allocations: 4 kB / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.328e-05/1.078, allocations: 83.27 kB / 1.024 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.078, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004409/1.078, allocations: 51 kB / 1.024 GB, free: 14.51 MB / 0.6511 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 () * 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.001015/1.079, allocations: 0.7913 MB / 1.025 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001703/1.079, allocations: 42.61 kB / 1.025 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.079, allocations: 0 / 1.025 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.071e-05/1.079, allocations: 19.56 kB / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/1.08, allocations: 6.891 kB / 1.025 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/1.08, allocations: 130.7 kB / 1.025 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/1.081, allocations: 0.6887 MB / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.587e-05/1.081, allocations: 3.984 kB / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/1.081, allocations: 18.92 kB / 1.026 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of SimCode: time 1.253e-06/1.081, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/1.106, allocations: 2.027 MB / 1.028 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000354/1.106, allocations: 196.9 kB / 1.028 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.539, allocations: 2.875 kB / 1.028 GB, free: 10.63 MB / 0.6511 GB