Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.176/2.176, allocations: 248.5 MB / 261.1 MB, free: 6.047 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.001405/0.001404, allocations: 180.8 kB / 320.4 MB, free: 15.35 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.067/2.067, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.001147/0.001146, allocations: 97.34 kB / 0.6754 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.362e-05/3.372e-05, allocations: 0 / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2036, allocations: 106.3 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8953/1.099, allocations: 131.8 MB / 1.019 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.099, allocations: 72.52 kB / 1.019 GB, free: 3.043 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.01045/1.11, allocations: 2.331 MB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.804e-06/1.11, allocations: 0 / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.993e-06/1.11, allocations: 0 / 1.022 GB, free: 1.043 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.0004914/1.11, allocations: 382.8 kB / 1.022 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/1.11, allocations: 12.03 kB / 1.022 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.159e-05/1.111, allocations: 30.56 kB / 1.022 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/1.111, allocations: 7.859 kB / 1.022 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/1.111, allocations: 174 kB / 1.022 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/1.111, allocations: 0 / 1.022 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/1.111, allocations: 4 kB / 1.022 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/1.111, allocations: 49.23 kB / 1.022 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/1.111, allocations: 0 / 1.022 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/1.111, allocations: 0 / 1.022 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.111, allocations: 4 kB / 1.022 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.106e-05/1.111, allocations: 7.953 kB / 1.022 GB, free: 296 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/1.111, allocations: 244.9 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/1.112, allocations: 38.44 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/1.112, allocations: 16.8 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/1.112, allocations: 8 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/1.112, allocations: 52.88 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 2.575e-06/1.112, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5): time 0.0002305/1.112, allocations: 65.39 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/1.112, allocations: 55.39 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.428e-05/1.112, allocations: 108.7 kB / 1.023 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/1.112, allocations: 25.7 kB / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/1.112, allocations: 96.02 kB / 1.023 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/1.112, allocations: 7.891 kB / 1.023 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/1.112, allocations: 3.062 kB / 1.023 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.113, allocations: 314.8 kB / 1.023 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.098e-05/1.113, allocations: 7.562 kB / 1.023 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.205e-05/1.113, allocations: 31.03 kB / 1.023 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.908e-05/1.113, allocations: 22.67 kB / 1.023 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.113, allocations: 0 / 1.023 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001657/1.113, allocations: 81.02 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/1.113, allocations: 6.656 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/1.113, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.113, allocations: 7.938 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/1.113, allocations: 8 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/1.113, allocations: 3.953 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.835e-05/1.113, allocations: 4.062 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/1.113, allocations: 7.469 kB / 1.024 GB, free: 15.02 MB / 0.6511 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 () * 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 8.709e-05/1.113, allocations: 107.7 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/1.113, allocations: 7.891 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.026e-05/1.113, allocations: 12.33 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.113, allocations: 4 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.113, allocations: 0 / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/1.113, allocations: 3.953 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/1.114, allocations: 303.4 kB / 1.024 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.114, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/1.114, allocations: 4.375 kB / 1.024 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.114, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/1.114, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/1.114, allocations: 7.953 kB / 1.024 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.114, allocations: 160 / 1.024 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/1.114, allocations: 166.3 kB / 1.024 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/1.114, allocations: 84.95 kB / 1.024 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/1.114, allocations: 4 kB / 1.024 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/1.114, allocations: 0 / 1.024 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/1.114, allocations: 7.953 kB / 1.024 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/1.114, allocations: 3.984 kB / 1.024 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.264e-05/1.114, allocations: 87.22 kB / 1.024 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.71e-07/1.114, allocations: 0 / 1.024 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004595/1.115, allocations: 47.86 kB / 1.024 GB, free: 14.12 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 (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.0009648/1.116, allocations: 0.7827 MB / 1.025 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000141/1.116, allocations: 38.62 kB / 1.025 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.116, allocations: 0 / 1.025 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.095e-05/1.116, allocations: 8 kB / 1.025 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/1.116, allocations: 11.45 kB / 1.025 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/1.117, allocations: 138.7 kB / 1.025 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/1.117, allocations: 0.6809 MB / 1.026 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.975e-05/1.117, allocations: 256 / 1.026 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/1.117, allocations: 15.42 kB / 1.026 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of SimCode: time 7.52e-07/1.117, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/1.138, allocations: 2.035 MB / 1.028 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003194/1.139, allocations: 202.9 kB / 1.028 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/3.547, allocations: 64 / 1.028 GB, free: 10.27 MB / 0.6511 GB