Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00758/0.007581, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 196.1 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 251.7 MB / 0.5094 GB, free: 432 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 75.89 kB / 0.7257 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7356/0.7373, allocations: 104.7 MB / 0.828 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002404/0.7398, allocations: 1.222 MB / 0.8292 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.7409, allocations: 415.6 kB / 0.8296 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.615e-05/0.7409, allocations: 0 / 0.8296 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.741, allocations: 0 / 0.8296 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.544e-05/0.741, allocations: 7.922 kB / 0.8296 GB, free: 0.9727 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/linear1D.mo:2:1-30:13:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.linear1D' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0007297/0.7418, allocations: 99.66 kB / 0.8297 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.7419, allocations: 23.91 kB / 0.8297 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.7419, allocations: 7.938 kB / 0.8297 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 2.378e-05/0.7419, allocations: 8 kB / 0.8297 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 3.169e-05/0.742, allocations: 11.92 kB / 0.8297 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.742, allocations: 0 / 0.8297 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.7422, allocations: 103.8 kB / 0.8298 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.7422, allocations: 7.984 kB / 0.8299 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.7423, allocations: 7.938 kB / 0.8299 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.7425, allocations: 95.8 kB / 0.83 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.7425, allocations: 0 / 0.83 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7425, allocations: 3.938 kB / 0.83 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.7425, allocations: 0 / 0.83 GB, free: 0.6094 MB / 0.6231 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.0005218/0.7431, allocations: 384.8 kB / 0.8303 GB, free: 184 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.7431, allocations: 8.031 kB / 0.8303 GB, free: 176 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.7432, allocations: 8.844 kB / 0.8303 GB, free: 168 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.7433, allocations: 168.4 kB / 0.8305 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.7433, allocations: 4.359 kB / 0.8305 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.7433, allocations: 4.375 kB / 0.8305 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.7435, allocations: 34.25 kB / 0.8305 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.7435, allocations: 192 / 0.8305 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.7435, allocations: 7.938 kB / 0.8305 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.7435, allocations: 0 / 0.8305 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.32e-05/0.7436, allocations: 7.938 kB / 0.8306 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.7437, allocations: 161.7 kB / 0.8307 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.854e-05/0.7438, allocations: 26.58 kB / 0.8307 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.7438, allocations: 12.94 kB / 0.8307 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.7439, allocations: 0 / 0.8307 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.744, allocations: 59.39 kB / 0.8308 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.744, allocations: 0 / 0.8308 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4): time 0.0002104/0.7442, allocations: 77.55 kB / 0.8309 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.7443, allocations: 51.41 kB / 0.8309 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.777e-05/0.7444, allocations: 105.8 kB / 0.831 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.7444, allocations: 25.7 kB / 0.8311 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.7444, allocations: 88.14 kB / 0.8311 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.7445, allocations: 6.156 kB / 0.8311 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.7445, allocations: 21.7 kB / 0.8312 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.7446, allocations: 322.8 kB / 0.8315 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.7447, allocations: 7.938 kB / 0.8315 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.754e-05/0.7447, allocations: 35.42 kB / 0.8315 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.78e-05/0.7448, allocations: 43.38 kB / 0.8316 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.7448, allocations: 4 kB / 0.8316 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.645e-05/0.7449, allocations: 65.98 kB / 0.8316 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.7449, allocations: 11.92 kB / 0.8316 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.7449, allocations: 0 / 0.8316 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.7449, allocations: 4 kB / 0.8316 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.685e-05/0.745, allocations: 8 kB / 0.8316 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.745, allocations: 4 kB / 0.8316 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.44e-05/0.7451, allocations: 3.938 kB / 0.8317 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.7451, allocations: 4 kB / 0.8317 GB, free: 14.62 MB / 0.6387 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 (y,$PRE.y,curSeed,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.399e-05/0.7452, allocations: 121.9 kB / 0.8318 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.7452, allocations: 11.83 kB / 0.8318 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.7452, allocations: 7.484 kB / 0.8318 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.7452, allocations: 0 / 0.8318 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7452, allocations: 0 / 0.8318 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.7452, allocations: 4 kB / 0.8318 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.7454, allocations: 153.7 kB / 0.8319 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7454, allocations: 0 / 0.8319 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-05/0.7454, allocations: 0 / 0.8319 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.7454, allocations: 7.938 kB / 0.8319 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.7454, allocations: 8 kB / 0.832 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7454, allocations: 0 / 0.832 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7454, allocations: 0 / 0.832 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.7456, allocations: 81.11 kB / 0.832 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.7456, allocations: 81.05 kB / 0.8321 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.7456, allocations: 7.938 kB / 0.8321 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.082e-05/0.7457, allocations: 3.984 kB / 0.8321 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.7457, allocations: 4 kB / 0.8321 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.7457, allocations: 7.938 kB / 0.8321 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.271e-05/0.7457, allocations: 79.28 kB / 0.8322 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7457, allocations: 0 / 0.8322 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002442/0.746, allocations: 31.98 kB / 0.8322 GB, free: 13.92 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003358/0.7463, allocations: 169.8 kB / 0.8324 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.7465, allocations: 35.91 kB / 0.8324 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7465, allocations: 4 kB / 0.8324 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.629e-05/0.7465, allocations: 8 kB / 0.8324 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.7467, allocations: 7.984 kB / 0.8325 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002518/0.7469, allocations: 104.8 kB / 0.8326 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.7472, allocations: 0.6844 MB / 0.8332 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.295e-05/0.7472, allocations: 4.188 kB / 0.8332 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.73e-05/0.7472, allocations: 11.44 kB / 0.8332 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.7473, allocations: 0 / 0.8332 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of Templates: time 0.003601/0.7509, allocations: 1.031 MB / 0.8342 GB, free: 11.82 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)