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.438/1.438, allocations: 249.5 MB / 257 MB, free: 6.906 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.001101/0.001101, allocations: 178.7 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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: 90.53 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.072e-05/2.076e-05, allocations: 4 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2068, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6823/0.8891, allocations: 132.2 MB / 1.014 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.8894, allocations: 72.08 kB / 1.014 GB, free: 5.191 MB / 0.6355 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.006273/0.8957, allocations: 2.234 MB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8957, allocations: 0 / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.8957, allocations: 0 / 1.017 GB, free: 3.297 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.0004301/0.8962, allocations: 379.3 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.8962, allocations: 15.97 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.8963, allocations: 4 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.8964, allocations: 163 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.8965, allocations: 4 kB / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.8965, allocations: 0 / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.003e-05/0.8965, allocations: 11.55 kB / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.792e-05/0.8966, allocations: 33.69 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.8966, allocations: 0 / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.8966, allocations: 0 / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.8967, allocations: 3.984 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.8968, allocations: 145.9 kB / 1.017 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.901e-05/0.8969, allocations: 33.17 kB / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.364e-05/0.8969, allocations: 8.859 kB / 1.017 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.897, allocations: 0 / 1.017 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/0.8971, allocations: 58.89 kB / 1.017 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.8971, allocations: 0 / 1.017 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001533/0.8972, allocations: 59.69 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.8973, allocations: 51.41 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.748e-05/0.8974, allocations: 95.92 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.8974, allocations: 33.58 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.8974, allocations: 84.14 kB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.8974, allocations: 11.03 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.8975, allocations: 0 / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.8976, allocations: 314.8 kB / 1.018 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.8976, allocations: 10.62 kB / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/0.8976, allocations: 33.59 kB / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/0.8977, allocations: 7.125 kB / 1.018 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.8977, allocations: 7.953 kB / 1.018 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.333e-05/0.8978, allocations: 60.97 kB / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.8978, allocations: 8.094 kB / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.8978, allocations: 0 / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.8978, allocations: 4 kB / 1.018 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.8979, allocations: 11.92 kB / 1.018 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.8979, allocations: 4 kB / 1.018 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.8979, allocations: 3.938 kB / 1.018 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.8979, allocations: 4 kB / 1.018 GB, free: 1.488 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 7.398e-05/0.898, allocations: 104.4 kB / 1.018 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.314e-05/0.8981, allocations: 61.94 kB / 1.018 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.8981, allocations: 7.906 kB / 1.018 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.8982, allocations: 8.125 kB / 1.018 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.8982, allocations: 0 / 1.018 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8982, allocations: 0 / 1.018 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.8982, allocations: 0 / 1.018 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.8983, allocations: 137.8 kB / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.8983, allocations: 0 / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.126e-05/0.8983, allocations: 7.062 kB / 1.019 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.8983, allocations: 4 kB / 1.019 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.8983, allocations: 0 / 1.019 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.8983, allocations: 0 / 1.019 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8983, allocations: 4 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.294e-05/0.8984, allocations: 84.48 kB / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.8985, allocations: 81.06 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.8985, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.115e-05/0.8985, allocations: 4 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.8986, allocations: 3.984 kB / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.8986, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.056e-05/0.8986, allocations: 87.22 kB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8986, allocations: 0 / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002709/0.8989, allocations: 51.86 kB / 1.019 GB, free: 0.7852 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.0006483/0.8996, allocations: 0.6925 MB / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.816e-05/0.8996, allocations: 23.61 kB / 1.02 GB, free: 72 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8997, allocations: 4 kB / 1.02 GB, free: 68 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.429e-05/0.8997, allocations: 15.36 kB / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001019/0.8998, allocations: 4 kB / 1.02 GB, free: 52 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.9002, allocations: 119.5 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.9004, allocations: 0.6886 MB / 1.02 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.918e-05/0.9004, allocations: 0 / 1.02 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.9005, allocations: 11.44 kB / 1.02 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of SimCode: time 1.733e-06/0.9005, allocations: 3.938 kB / 1.02 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.9189, allocations: 1.626 MB / 1.022 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/0.9192, allocations: 181 kB / 1.022 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.429/2.348, allocations: 2.812 kB / 1.022 GB, free: 13.37 MB / 0.6511 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)