Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.681/1.681, allocations: 292.6 MB / 307.5 MB, free: 5.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 185 kB / 377.1 MB, free: 1.492 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.4 MB / 0.6367 GB, free: 9.547 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008302/0.0008296, allocations: 85.34 kB / 0.751 GB, free: 62.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003191, allocations: 12 kB / 0.8748 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.25, allocations: 116.3 MB / 0.9884 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6408/0.8909, allocations: 139.2 MB / 1.124 GB, free: 35.61 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.8912, allocations: 71.92 kB / 1.124 GB, free: 35.55 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.005523/0.8968, allocations: 2.154 MB / 1.126 GB, free: 33.97 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.136e-06/0.8968, allocations: 0.9062 kB / 1.126 GB, free: 33.97 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.8968, allocations: 0 / 1.126 GB, free: 33.97 MB / 0.7292 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.0003284/0.8972, allocations: 386.2 kB / 1.127 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.8972, allocations: 12.02 kB / 1.127 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.8973, allocations: 6.75 kB / 1.127 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.557e-05/0.8974, allocations: 170.5 kB / 1.127 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.8974, allocations: 4.562 kB / 1.127 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.8974, allocations: 1.203 kB / 1.127 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.748e-05/0.8975, allocations: 33.12 kB / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.8975, allocations: 1.359 kB / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.8976, allocations: 9.234 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.8976, allocations: 0 / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.113e-05/0.8976, allocations: 8.625 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.8978, allocations: 156.9 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.187e-05/0.8978, allocations: 37.94 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.151e-06/0.8978, allocations: 4 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.898, allocations: 56.92 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 2.755e-06/0.898, allocations: 1.828 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001992/0.8982, allocations: 65.17 kB / 1.127 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.8982, allocations: 55.34 kB / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.1e-05/0.8983, allocations: 96.38 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.8983, allocations: 29.7 kB / 1.128 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.821e-05/0.8984, allocations: 88.05 kB / 1.128 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.8984, allocations: 3.906 kB / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.8984, allocations: 4 kB / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.533e-05/0.8985, allocations: 314.8 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.8985, allocations: 8 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.528e-05/0.8985, allocations: 35.86 kB / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.757e-05/0.8985, allocations: 12 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8986, allocations: 3.953 kB / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.986e-05/0.8986, allocations: 69.19 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.8987, allocations: 5.219 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.8987, allocations: 0 / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.8987, allocations: 9.5 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.394e-05/0.8988, allocations: 7.609 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.8988, allocations: 4 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.394e-05/0.8988, allocations: 3.938 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.8988, allocations: 5.188 kB / 1.128 GB, free: 32.14 MB / 0.7292 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.198e-05/0.8989, allocations: 109.8 kB / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.8989, allocations: 11.86 kB / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.8989, allocations: 7.062 kB / 1.128 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.899, allocations: 0 / 1.128 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.899, allocations: 4 kB / 1.128 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.899, allocations: 3.938 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.737e-05/0.8991, allocations: 157.8 kB / 1.128 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.8991, allocations: 4.562 kB / 1.128 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.039e-05/0.8991, allocations: 3.953 kB / 1.128 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.8991, allocations: 0.5 kB / 1.128 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.8991, allocations: 3.938 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.8991, allocations: 3.469 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8991, allocations: 5.125 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.8993, allocations: 82.02 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.8993, allocations: 84.67 kB / 1.129 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.8993, allocations: 3.953 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.02e-05/0.8993, allocations: 0 / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.8994, allocations: 4.5 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.8994, allocations: 0.8438 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.8994, allocations: 82.75 kB / 1.129 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8994, allocations: 0 / 1.129 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002419/0.8997, allocations: 43.61 kB / 1.129 GB, free: 31.47 MB / 0.7292 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.0003717/0.9001, allocations: 190.2 kB / 1.129 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.627e-05/0.9002, allocations: 27.47 kB / 1.129 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9002, allocations: 0 / 1.129 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.367e-05/0.9002, allocations: 15.31 kB / 1.129 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.589e-05/0.9003, allocations: 5.219 kB / 1.129 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002655/0.9006, allocations: 125.2 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.9007, allocations: 0.6805 MB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.061e-05/0.9008, allocations: 3.516 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.9008, allocations: 11.44 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.9008, allocations: 0 / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of Templates: time 0.003171/0.904, allocations: 1.174 MB / 1.131 GB, free: 29.77 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)