Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001394/0.001394, allocations: 180 kB / 326.5 MB, free: 2.262 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.041/2.041, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008562/0.0008561, allocations: 99.39 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003473, allocations: 6.812 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2659, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/0.4425, allocations: 132 MB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.4427, allocations: 75.95 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.006221/0.449, allocations: 2.26 MB / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.673e-06/0.449, allocations: 0 / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.449, allocations: 0 / 1.031 GB, free: 9.371 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.0003892/0.4494, allocations: 390.4 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.4494, allocations: 8.031 kB / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.714e-05/0.4495, allocations: 34.56 kB / 1.032 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.4496, allocations: 7.906 kB / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.4497, allocations: 174.9 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.4497, allocations: 4 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.4498, allocations: 0 / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.4499, allocations: 46.34 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.4499, allocations: 0 / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.4499, allocations: 0 / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4499, allocations: 0 / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.431e-05/0.4499, allocations: 4 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.4503, allocations: 256.9 kB / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.585e-05/0.4504, allocations: 42.48 kB / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.4504, allocations: 0 / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.4505, allocations: 55.48 kB / 1.032 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.4505, allocations: 0 / 1.032 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0002105/0.4508, allocations: 77.62 kB / 1.032 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.4508, allocations: 51.41 kB / 1.032 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.766e-05/0.4509, allocations: 100.9 kB / 1.033 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.4509, allocations: 29.7 kB / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.451, allocations: 84.05 kB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.451, allocations: 11.91 kB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.451, allocations: 0 / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.4511, allocations: 314.8 kB / 1.033 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.4511, allocations: 12 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.307e-05/0.4512, allocations: 35.42 kB / 1.033 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.885e-05/0.4512, allocations: 12 kB / 1.033 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4512, allocations: 0 / 1.033 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000105/0.4513, allocations: 81.39 kB / 1.033 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4514, allocations: 8 kB / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.4514, allocations: 4.062 kB / 1.033 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.4514, allocations: 0 / 1.033 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.417e-05/0.4514, allocations: 8 kB / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4515, allocations: 4 kB / 1.033 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.4515, allocations: 256 / 1.033 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.4515, allocations: 7.953 kB / 1.033 GB, free: 7.305 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 7.97e-05/0.4516, allocations: 121.7 kB / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.4516, allocations: 8 kB / 1.033 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.4516, allocations: 7.562 kB / 1.033 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4517, allocations: 4 kB / 1.033 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4517, allocations: 0 / 1.033 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4517, allocations: 0 / 1.033 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.452, allocations: 302.6 kB / 1.034 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.452, allocations: 0 / 1.034 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.4521, allocations: 4 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4521, allocations: 0 / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.4521, allocations: 0 / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.4521, allocations: 7.875 kB / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4521, allocations: 4 kB / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.4523, allocations: 169.1 kB / 1.034 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.4523, allocations: 81.11 kB / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.4523, allocations: 0 / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.189e-05/0.4524, allocations: 0 / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.4524, allocations: 8.266 kB / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.4524, allocations: 0 / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.4525, allocations: 87.27 kB / 1.034 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4525, allocations: 4 kB / 1.034 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002978/0.4528, allocations: 43.94 kB / 1.034 GB, free: 6.371 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.0007181/0.4535, allocations: 0.7821 MB / 1.035 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.4536, allocations: 39.92 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4536, allocations: 0 / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.395e-05/0.4537, allocations: 12 kB / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.4538, allocations: 4 kB / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007393/0.4545, allocations: 0.8187 MB / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.4548, allocations: 0.6887 MB / 1.036 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.255e-05/0.4548, allocations: 4 kB / 1.036 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.4549, allocations: 15.44 kB / 1.036 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.4549, allocations: 0 / 1.036 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01171/0.4666, allocations: 1.94 MB / 1.038 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/0.4669, allocations: 229.1 kB / 1.038 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/1.945, allocations: 0.75 kB / 1.038 GB, free: 1.859 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)