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.223/2.223, allocations: 251 MB / 265.9 MB, free: 11.68 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.0016/0.0016, allocations: 177.2 kB / 325.5 MB, free: 2.883 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.325/2.325, allocations: 205.4 MB / 0.5764 GB, free: 21.23 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.001128/0.001128, allocations: 94.3 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007528/0.0007532, allocations: 9.156 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2202, allocations: 106.3 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2264/0.4467, allocations: 131.9 MB / 1.028 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.447, allocations: 75.95 kB / 1.028 GB, free: 13.79 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.01431/0.4613, allocations: 2.341 MB / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.366e-06/0.4614, allocations: 0 / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.4614, allocations: 0 / 1.03 GB, free: 11.44 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.0008758/0.4623, allocations: 397.9 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.48e-05/0.4624, allocations: 12.03 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.4625, allocations: 30.56 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.4626, allocations: 7.859 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.4628, allocations: 171 kB / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.4629, allocations: 0 / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.4629, allocations: 8 kB / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.4631, allocations: 37.67 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4631, allocations: 4 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.4632, allocations: 0 / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.4632, allocations: 4 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.066e-05/0.4633, allocations: 15.89 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/0.4639, allocations: 256.8 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.4641, allocations: 30.58 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.4641, allocations: 0 / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.4644, allocations: 63.42 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 2.415e-06/0.4644, allocations: 0 / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0005044/0.4649, allocations: 85.55 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.465, allocations: 55.39 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.4651, allocations: 93 kB / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.4652, allocations: 29.7 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.4653, allocations: 84.14 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.4654, allocations: 19.8 kB / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/0.4654, allocations: 4 kB / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002416/0.4657, allocations: 310.8 kB / 1.032 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.935e-05/0.4657, allocations: 11.98 kB / 1.032 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.4659, allocations: 39.36 kB / 1.032 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.402e-05/0.466, allocations: 16 kB / 1.032 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.466, allocations: 0 / 1.032 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003104/0.4663, allocations: 69.61 kB / 1.032 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.4664, allocations: 8 kB / 1.032 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.4664, allocations: 0 / 1.032 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.4664, allocations: 0 / 1.032 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.4666, allocations: 15.92 kB / 1.032 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.4666, allocations: 7.953 kB / 1.032 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.306e-05/0.4667, allocations: 0 / 1.032 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.4667, allocations: 4 kB / 1.032 GB, free: 9.348 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.0001572/0.4669, allocations: 113.9 kB / 1.032 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.467, allocations: 7.906 kB / 1.032 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/0.4671, allocations: 7.969 kB / 1.032 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4671, allocations: 0 / 1.032 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.4671, allocations: 4 kB / 1.032 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.4671, allocations: 8.031 kB / 1.032 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00075/0.4679, allocations: 306.5 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.4679, allocations: 0 / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.4681, allocations: 4 kB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.113e-05/0.4682, allocations: 7.984 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.551e-05/0.4683, allocations: 0 / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.4684, allocations: 3.938 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.784e-05/0.4686, allocations: 3.953 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.47, allocations: 160 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.4701, allocations: 89 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/0.4702, allocations: 0 / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.4705, allocations: 8.062 kB / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.4706, allocations: 7.891 kB / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.4706, allocations: 4 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001422/0.4708, allocations: 87.27 kB / 1.033 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.222e-06/0.4708, allocations: 0 / 1.033 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001113/0.472, allocations: 40 kB / 1.033 GB, free: 8.402 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.001419/0.4734, allocations: 0.7834 MB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001966/0.4736, allocations: 31.92 kB / 1.033 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4737, allocations: 0 / 1.033 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.514e-05/0.4737, allocations: 16 kB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.4739, allocations: 1.5 kB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.475, allocations: 0.8211 MB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.4753, allocations: 0.6887 MB / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.693e-05/0.4754, allocations: 7.906 kB / 1.035 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.4755, allocations: 15.38 kB / 1.035 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of SimCode: time 1.462e-06/0.4755, allocations: 0 / 1.035 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.4971, allocations: 2.003 MB / 1.037 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003617/0.4976, allocations: 234.9 kB / 1.037 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/2.951, allocations: 0 / 1.037 GB, free: 3.832 MB / 0.6823 GB