Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.808/3.808, allocations: 251.1 MB / 266.7 MB, free: 11.66 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.002487/0.002487, allocations: 178.7 kB / 326.2 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 3.914/3.914, allocations: 205.4 MB / 0.5772 GB, free: 20.74 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.002099/0.002099, allocations: 87.34 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 15.06 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3247, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3331/0.6579, allocations: 131.8 MB / 1.028 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004393/0.6584, allocations: 75.95 kB / 1.028 GB, free: 13.45 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.01653/0.6749, allocations: 2.341 MB / 1.031 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.256e-06/0.675, allocations: 7.938 kB / 1.031 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.675, allocations: 0 / 1.031 GB, free: 11.1 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007448/0.6758, allocations: 389.1 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.866e-05/0.6759, allocations: 8.031 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.6759, allocations: 4.938 kB / 1.031 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.6762, allocations: 168.3 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/0.6762, allocations: 4.375 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.6763, allocations: 384 / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.6765, allocations: 46.25 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.6766, allocations: 4.172 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.6766, allocations: 3.938 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.6767, allocations: 0 / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.231e-05/0.6768, allocations: 8 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.6771, allocations: 157.6 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.6773, allocations: 30.61 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.748e-05/0.6774, allocations: 12.86 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.6775, allocations: 7.984 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.6777, allocations: 59.48 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 3.717e-06/0.6777, allocations: 3.938 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0004659/0.6782, allocations: 73.56 kB / 1.032 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/0.6783, allocations: 63.33 kB / 1.032 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.6785, allocations: 102.1 kB / 1.032 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.6786, allocations: 33.7 kB / 1.032 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/0.6787, allocations: 84.14 kB / 1.032 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.6787, allocations: 19.73 kB / 1.032 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.6788, allocations: 0 / 1.032 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.679, allocations: 314.8 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.538e-05/0.6791, allocations: 11.98 kB / 1.032 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.6792, allocations: 40.3 kB / 1.032 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.712e-05/0.6793, allocations: 15.94 kB / 1.032 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.6793, allocations: 0 / 1.032 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000318/0.6797, allocations: 73.52 kB / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/0.6797, allocations: 11.94 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.6798, allocations: 0 / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.6798, allocations: 4.125 kB / 1.032 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.68, allocations: 11.94 kB / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.6801, allocations: 4 kB / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.776e-05/0.6802, allocations: 0 / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.6802, allocations: 7.984 kB / 1.032 GB, free: 9.117 MB / 0.6823 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 () * 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.0002117/0.6805, allocations: 113.8 kB / 1.032 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.6805, allocations: 3.938 kB / 1.032 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.858e-05/0.6806, allocations: 11.56 kB / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.6806, allocations: 0 / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6807, allocations: 4 kB / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.6807, allocations: 0 / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.681, allocations: 153.7 kB / 1.033 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.6811, allocations: 3.984 kB / 1.033 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.09e-05/0.6812, allocations: 7.938 kB / 1.033 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.6812, allocations: 3.938 kB / 1.033 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.6813, allocations: 4 kB / 1.033 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.6813, allocations: 0 / 1.033 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.6813, allocations: 0 / 1.033 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004582/0.6818, allocations: 97.02 kB / 1.033 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.158e-05/0.6819, allocations: 81.05 kB / 1.033 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.682, allocations: 3.938 kB / 1.033 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.585e-05/0.682, allocations: 4 kB / 1.033 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.6821, allocations: 0 / 1.033 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.6821, allocations: 7.984 kB / 1.033 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.072e-05/0.6823, allocations: 83.59 kB / 1.033 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.042e-06/0.6823, allocations: 4 kB / 1.033 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008795/0.6832, allocations: 43.92 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,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.0009584/0.6842, allocations: 186.6 kB / 1.033 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.6846, allocations: 27.98 kB / 1.033 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/0.6846, allocations: 0 / 1.033 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.6847, allocations: 15.94 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.6852, allocations: 8.25 kB / 1.033 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006228/0.6858, allocations: 136.5 kB / 1.033 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.6863, allocations: 0.6809 MB / 1.034 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.476e-05/0.6864, allocations: 0 / 1.034 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.6865, allocations: 11.44 kB / 1.034 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of SimCode: time 2.364e-06/0.6865, allocations: 0 / 1.034 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of Templates: time 0.008059/0.6946, allocations: 1.249 MB / 1.035 GB, free: 6.043 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)