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.29/2.29, allocations: 248.7 MB / 256.2 MB, free: 7.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.001478/0.001478, allocations: 182.4 kB / 315.4 MB, free: 4.02 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.208/2.208, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 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.001054/0.001054, allocations: 82.86 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.318e-05/2.342e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9023/1.108, allocations: 132.1 MB / 1.013 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/1.109, allocations: 71.77 kB / 1.013 GB, free: 6.98 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.0104/1.119, allocations: 2.321 MB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/1.119, allocations: 0 / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.024e-05/1.119, allocations: 4 kB / 1.015 GB, free: 5.008 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.0005188/1.12, allocations: 382.1 kB / 1.016 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/1.12, allocations: 12.03 kB / 1.016 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/1.12, allocations: 7.953 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/1.12, allocations: 163 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/1.12, allocations: 0 / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/1.12, allocations: 4 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.69e-05/1.12, allocations: 4 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.431e-05/1.12, allocations: 40.62 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/1.12, allocations: 3.984 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/1.12, allocations: 0 / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/1.12, allocations: 0 / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/1.12, allocations: 149.5 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.889e-05/1.12, allocations: 27.61 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/1.121, allocations: 11.17 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/1.121, allocations: 4 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/1.121, allocations: 54.73 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.314e-06/1.121, allocations: 4 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002054/1.121, allocations: 56.38 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/1.121, allocations: 55.41 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.725e-05/1.121, allocations: 92.5 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/1.121, allocations: 25.7 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/1.121, allocations: 88.12 kB / 1.017 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/1.121, allocations: 11.34 kB / 1.017 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-06/1.121, allocations: 0 / 1.017 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.121, allocations: 314.8 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/1.121, allocations: 15.12 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.554e-05/1.121, allocations: 31.36 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.62e-05/1.122, allocations: 4 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.122, allocations: 4 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001475/1.122, allocations: 69.44 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.122, allocations: 4.75 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.122, allocations: 0.875 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/1.122, allocations: 7.938 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.239e-05/1.122, allocations: 7.984 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/1.122, allocations: 4.156 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/1.122, allocations: 0 / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/1.122, allocations: 6.75 kB / 1.017 GB, free: 3.207 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.595e-05/1.122, allocations: 108.9 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001325/1.122, allocations: 74.58 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/1.122, allocations: 4 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/1.122, allocations: 7.531 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/1.122, allocations: 0 / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.122, allocations: 0 / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.122, allocations: 0 / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/1.123, allocations: 134.2 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.123, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.339e-05/1.123, allocations: 5.625 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.123, allocations: 0 / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/1.123, allocations: 3.125 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.123, allocations: 7.984 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.123, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/1.123, allocations: 92.11 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/1.123, allocations: 77.11 kB / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/1.123, allocations: 7.922 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.217e-05/1.123, allocations: 0 / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/1.123, allocations: 4 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/1.123, allocations: 0 / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.406e-05/1.123, allocations: 90.34 kB / 1.018 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/1.123, allocations: 0 / 1.018 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004016/1.123, allocations: 51.86 kB / 1.018 GB, free: 2.48 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.0008981/1.124, allocations: 0.7001 MB / 1.018 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001198/1.125, allocations: 30.73 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.125, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/1.125, allocations: 8 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/1.125, allocations: 3.625 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/1.125, allocations: 128.5 kB / 1.018 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/1.126, allocations: 0.6886 MB / 1.019 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.814e-05/1.126, allocations: 11.89 kB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/1.126, allocations: 11 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/1.126, allocations: 0 / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04031/1.166, allocations: 1.679 MB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003309/1.166, allocations: 184.7 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/3.406, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.6511 GB