Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.252/1.252, allocations: 252 MB / 267.9 MB, free: 10.91 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.0008626/0.0008625, allocations: 177 kB / 327.6 MB, free: 2.152 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.333/1.333, allocations: 205.4 MB / 0.5785 GB, free: 20.46 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.000689/0.000689, allocations: 98.72 kB / 0.6831 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003412, allocations: 13 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1828, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.3334, allocations: 132.1 MB / 1.03 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.3336, allocations: 83.89 kB / 1.03 GB, free: 11.71 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.006007/0.3397, allocations: 2.351 MB / 1.033 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3397, allocations: 0 / 1.033 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.3397, allocations: 0 / 1.033 GB, free: 9.359 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.0003252/0.34, allocations: 397.1 kB / 1.033 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.3401, allocations: 12.03 kB / 1.033 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.3401, allocations: 4.844 kB / 1.033 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.845e-05/0.3402, allocations: 168.4 kB / 1.033 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.3402, allocations: 384 / 1.033 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.3402, allocations: 4.375 kB / 1.033 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.913e-05/0.3403, allocations: 34.25 kB / 1.033 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3403, allocations: 4.172 kB / 1.033 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3403, allocations: 7.938 kB / 1.033 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.3404, allocations: 7.938 kB / 1.033 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.871e-05/0.3404, allocations: 11.92 kB / 1.033 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.3405, allocations: 157.7 kB / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.052e-05/0.3406, allocations: 30.56 kB / 1.033 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/0.3406, allocations: 12.86 kB / 1.033 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-06/0.3407, allocations: 0 / 1.033 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.831e-05/0.3408, allocations: 59.48 kB / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3408, allocations: 0 / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0001703/0.3409, allocations: 73.47 kB / 1.034 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.341, allocations: 51.41 kB / 1.034 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.985e-05/0.341, allocations: 105.8 kB / 1.034 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.3411, allocations: 33.7 kB / 1.034 GB, free: 8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.3411, allocations: 80.14 kB / 1.034 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.3411, allocations: 15.89 kB / 1.034 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.3411, allocations: 0 / 1.034 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.3412, allocations: 314.8 kB / 1.034 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.3412, allocations: 8 kB / 1.034 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.69e-05/0.3413, allocations: 39.41 kB / 1.034 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.289e-05/0.3413, allocations: 43.38 kB / 1.034 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3414, allocations: 0 / 1.034 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.184e-05/0.3415, allocations: 73.55 kB / 1.034 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3415, allocations: 7.938 kB / 1.034 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3415, allocations: 0 / 1.034 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3415, allocations: 4 kB / 1.034 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.778e-05/0.3415, allocations: 4 kB / 1.034 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.3416, allocations: 0 / 1.034 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.45e-05/0.3416, allocations: 16 kB / 1.034 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.3416, allocations: 7.938 kB / 1.034 GB, free: 7.355 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.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 (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 6.357e-05/0.3417, allocations: 109.8 kB / 1.034 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.3417, allocations: 7.938 kB / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.3417, allocations: 7.906 kB / 1.034 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3417, allocations: 256 / 1.034 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.3417, allocations: 3.938 kB / 1.034 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3417, allocations: 4 kB / 1.034 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.659e-05/0.3418, allocations: 157.7 kB / 1.035 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3419, allocations: 7.938 kB / 1.035 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.229e-05/0.3419, allocations: 0 / 1.035 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3419, allocations: 3.938 kB / 1.035 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.3419, allocations: 8.219 kB / 1.035 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3419, allocations: 0 / 1.035 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3419, allocations: 0 / 1.035 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.342, allocations: 89 kB / 1.035 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.3421, allocations: 81.11 kB / 1.035 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.3421, allocations: 7.938 kB / 1.035 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.91e-05/0.3421, allocations: 0 / 1.035 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.3421, allocations: 0 / 1.035 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.3422, allocations: 4 kB / 1.035 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.3422, allocations: 87.27 kB / 1.035 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.473e-06/0.3422, allocations: 0 / 1.035 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002399/0.3424, allocations: 51.81 kB / 1.035 GB, free: 6.633 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 (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.000309/0.3428, allocations: 173.5 kB / 1.035 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.064e-05/0.3429, allocations: 27.98 kB / 1.035 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3429, allocations: 0 / 1.035 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.258e-05/0.3429, allocations: 15.94 kB / 1.035 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.343, allocations: 0 / 1.035 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.3433, allocations: 140.6 kB / 1.035 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.3435, allocations: 0.677 MB / 1.036 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.068e-05/0.3435, allocations: 3.984 kB / 1.036 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.344e-05/0.3435, allocations: 11.44 kB / 1.036 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.3435, allocations: 0 / 1.036 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of Templates: time 0.002992/0.3465, allocations: 1.206 MB / 1.037 GB, free: 4.336 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)