Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D",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.468/1.468, allocations: 249.5 MB / 257 MB, free: 6.855 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.001079/0.001079, allocations: 168.8 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.551/1.551, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0008897/0.0008898, allocations: 97.7 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.667e-05/1.671e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2264, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7454/0.9719, allocations: 132.2 MB / 1.014 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.9722, allocations: 74.58 kB / 1.015 GB, free: 5.137 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.006313/0.9785, allocations: 2.306 MB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9785, allocations: 0 / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.9786, allocations: 0 / 1.017 GB, free: 3.18 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003748/0.9789, allocations: 383.2 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.979, allocations: 11.97 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.979, allocations: 3.984 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.9792, allocations: 170.9 kB / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.9792, allocations: 0 / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.9792, allocations: 4 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.248e-05/0.9793, allocations: 7.25 kB / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.382e-05/0.9794, allocations: 33.69 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.9794, allocations: 3.938 kB / 1.017 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.9794, allocations: 4 kB / 1.017 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.9794, allocations: 4 kB / 1.017 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.9796, allocations: 137.6 kB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.436e-05/0.9796, allocations: 28.55 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.9797, allocations: 12.3 kB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.9797, allocations: 0 / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.9798, allocations: 58.81 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.9798, allocations: 0 / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0001765/0.98, allocations: 60.19 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.9801, allocations: 63.38 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.405e-05/0.9801, allocations: 93.19 kB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.9802, allocations: 25.7 kB / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.9802, allocations: 83.52 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.9802, allocations: 19.75 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.9802, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.9804, allocations: 318.1 kB / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.9804, allocations: 7.875 kB / 1.018 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-05/0.9804, allocations: 35.36 kB / 1.018 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/0.9805, allocations: 19.94 kB / 1.018 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9805, allocations: 0 / 1.018 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.881e-05/0.9806, allocations: 67.06 kB / 1.018 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.9806, allocations: 4 kB / 1.018 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.9806, allocations: 0 / 1.018 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.9806, allocations: 4 kB / 1.018 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/0.9807, allocations: 16.23 kB / 1.018 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.9807, allocations: 0 / 1.018 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.9808, allocations: 15.97 kB / 1.018 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.9808, allocations: 4 kB / 1.018 GB, free: 1.344 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (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.97e-05/0.9809, allocations: 115.8 kB / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.465e-05/0.981, allocations: 59.88 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-06/0.981, allocations: 3.906 kB / 1.019 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.981, allocations: 8.172 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.981, allocations: 0 / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.981, allocations: 4 kB / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.981, allocations: 0 / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.9812, allocations: 141.4 kB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.9812, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.9812, allocations: 4 kB / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.9812, allocations: 4.031 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.9812, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.9812, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.9812, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.9813, allocations: 95 kB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.9814, allocations: 81.02 kB / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.9814, allocations: 8 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.208e-05/0.9814, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.9815, allocations: 3.984 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.9815, allocations: 4 kB / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.9815, allocations: 82.66 kB / 1.019 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9815, allocations: 4 kB / 1.019 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000257/0.9818, allocations: 55.11 kB / 1.019 GB, free: 0.6172 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 (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.0006999/0.9825, allocations: 0.6986 MB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.195e-05/0.9826, allocations: 23.56 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9826, allocations: 256 / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.185e-05/0.9826, allocations: 23.69 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.692e-05/0.9827, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.9831, allocations: 119.9 kB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.9834, allocations: 0.6846 MB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.658e-05/0.9834, allocations: 4 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.9834, allocations: 10.69 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.9834, allocations: 3.938 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/1.006, allocations: 1.704 MB / 1.022 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/1.006, allocations: 180.9 kB / 1.022 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/2.489, allocations: 2.812 kB / 1.022 GB, free: 13.12 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)