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.677/1.677, allocations: 289.7 MB / 302.2 MB, free: 2.129 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.001268/0.001268, allocations: 178.7 kB / 371.6 MB, free: 3.418 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.789/1.789, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0008788/0.0008789, allocations: 88.7 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.305e-05/3.308e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2849, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9474/1.232, allocations: 139.1 MB / 1.116 GB, free: 44.63 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/1.233, allocations: 71.36 kB / 1.116 GB, free: 44.61 MB / 0.7448 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.008097/1.241, allocations: 2.142 MB / 1.118 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.493e-06/1.241, allocations: 0.5 kB / 1.118 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.923e-06/1.241, allocations: 0.5625 kB / 1.118 GB, free: 43.34 MB / 0.7448 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.0003698/1.241, allocations: 374.5 kB / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/1.241, allocations: 12.59 kB / 1.118 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/1.241, allocations: 4.531 kB / 1.118 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.198e-05/1.242, allocations: 163.1 kB / 1.118 GB, free: 42.72 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/1.242, allocations: 6.734 kB / 1.118 GB, free: 42.72 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/1.242, allocations: 1.031 kB / 1.118 GB, free: 42.72 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/1.242, allocations: 47.06 kB / 1.118 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.242, allocations: 0 / 1.118 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/1.242, allocations: 3.375 kB / 1.118 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/1.242, allocations: 0 / 1.118 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.649e-05/1.242, allocations: 5.312 kB / 1.118 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/1.242, allocations: 162.8 kB / 1.119 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.289e-05/1.242, allocations: 27.98 kB / 1.119 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.736e-05/1.242, allocations: 16.36 kB / 1.119 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/1.242, allocations: 0 / 1.119 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/1.242, allocations: 63.5 kB / 1.119 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/1.242, allocations: 0 / 1.119 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.000208/1.243, allocations: 56.39 kB / 1.119 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/1.243, allocations: 54.83 kB / 1.119 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.551e-05/1.243, allocations: 92.31 kB / 1.119 GB, free: 42.17 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/1.243, allocations: 29.7 kB / 1.119 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.334e-05/1.243, allocations: 84.14 kB / 1.119 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/1.243, allocations: 7.812 kB / 1.119 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/1.243, allocations: 0 / 1.119 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.626e-05/1.243, allocations: 325.2 kB / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.573e-05/1.243, allocations: 4 kB / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.233e-05/1.243, allocations: 38.19 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.334e-05/1.243, allocations: 20.83 kB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.243, allocations: 0 / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001346/1.243, allocations: 64.5 kB / 1.119 GB, free: 41.6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.243, allocations: 8 kB / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.243, allocations: 0 / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.243, allocations: 7.422 kB / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/1.243, allocations: 8.5 kB / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/1.243, allocations: 0.625 kB / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.838e-05/1.243, allocations: 8.094 kB / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/1.243, allocations: 7.312 kB / 1.119 GB, free: 41.57 MB / 0.7448 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 6.048e-05/1.244, allocations: 111.3 kB / 1.119 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/1.244, allocations: 0.5625 kB / 1.119 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/1.244, allocations: 14.31 kB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/1.244, allocations: 0 / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.244, allocations: 0 / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.244, allocations: 0.75 kB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/1.244, allocations: 153.1 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.244, allocations: 9.422 kB / 1.12 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/1.244, allocations: 7.125 kB / 1.12 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.244, allocations: 0 / 1.12 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/1.244, allocations: 3.422 kB / 1.12 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.244, allocations: 0 / 1.12 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.244, allocations: 0.5 kB / 1.12 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/1.244, allocations: 87.91 kB / 1.12 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.346e-05/1.244, allocations: 81.72 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/1.244, allocations: 4 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.05e-05/1.244, allocations: 0.5 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/1.244, allocations: 4 kB / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-06/1.244, allocations: 3.375 kB / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.914e-05/1.244, allocations: 83.03 kB / 1.12 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.2e-07/1.244, allocations: 0 / 1.12 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004106/1.245, allocations: 51.28 kB / 1.12 GB, free: 40.92 MB / 0.7448 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.000458/1.245, allocations: 180.3 kB / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001259/1.245, allocations: 31.11 kB / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.245, allocations: 0 / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.317e-05/1.245, allocations: 11.94 kB / 1.12 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/1.246, allocations: 4 kB / 1.12 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/1.246, allocations: 62.28 kB / 1.12 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/1.246, allocations: 0.6878 MB / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.501e-05/1.246, allocations: 0.6562 kB / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/1.246, allocations: 11.44 kB / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/1.246, allocations: 0 / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of Templates: time 0.004609/1.251, allocations: 1.182 MB / 1.122 GB, free: 39.3 MB / 0.7448 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)