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.004201/0.004201, allocations: 107.9 kB / 15.74 MB, free: 6.449 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.001106/0.001106, allocations: 196 kB / 16.67 MB, free: 6.355 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.623/1.623, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.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.636/1.636, allocations: 251.7 MB / 0.5094 GB, free: 3.039 MB / 414.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.00157/0.00157, allocations: 71.89 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2232, allocations: 104.7 MB / 0.828 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002289/0.2255, allocations: 1.214 MB / 0.8292 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008786/0.2264, allocations: 415.7 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.2265, allocations: 0 / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.2265, allocations: 4 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.563e-05/0.2265, allocations: 7.938 kB / 0.8296 GB, free: 14.57 MB / 0.6544 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.000605/0.2272, allocations: 111.6 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.589e-05/0.2272, allocations: 15.98 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.2273, allocations: 0 / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.571e-05/0.2273, allocations: 11.92 kB / 0.8297 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.16e-05/0.2274, allocations: 11.98 kB / 0.8297 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.2274, allocations: 0 / 0.8297 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.2276, allocations: 103.8 kB / 0.8298 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.2276, allocations: 11.94 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.2277, allocations: 4 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.2278, allocations: 95.8 kB / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2279, allocations: 0 / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2279, allocations: 0 / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2279, allocations: 0 / 0.83 GB, free: 14.21 MB / 0.6544 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.000546/0.2284, allocations: 385 kB / 0.8303 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2285, allocations: 8.031 kB / 0.8303 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.2285, allocations: 12.88 kB / 0.8303 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.2286, allocations: 168.3 kB / 0.8305 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.2287, allocations: 384 / 0.8305 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.2287, allocations: 4.375 kB / 0.8305 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.2288, allocations: 34.25 kB / 0.8305 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2288, allocations: 4.172 kB / 0.8305 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.2289, allocations: 7.922 kB / 0.8305 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2289, allocations: 4 kB / 0.8306 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.307e-05/0.2289, allocations: 4 kB / 0.8306 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.2291, allocations: 153.7 kB / 0.8307 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.728e-05/0.2292, allocations: 38.55 kB / 0.8307 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.2293, allocations: 12.86 kB / 0.8308 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.2293, allocations: 0 / 0.8308 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.2295, allocations: 59.48 kB / 0.8308 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2295, allocations: 0 / 0.8308 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002042/0.2297, allocations: 69.56 kB / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.2297, allocations: 59.39 kB / 0.8309 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/0.2298, allocations: 101.9 kB / 0.831 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.2299, allocations: 25.7 kB / 0.8311 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.2299, allocations: 80.14 kB / 0.8311 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.2299, allocations: 19.73 kB / 0.8311 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.23, allocations: 21.72 kB / 0.8312 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.2301, allocations: 314.8 kB / 0.8315 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.2302, allocations: 11.98 kB / 0.8315 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-05/0.2302, allocations: 35.44 kB / 0.8315 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.84e-05/0.2303, allocations: 43.36 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2303, allocations: 0 / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001021/0.2304, allocations: 69.62 kB / 0.8316 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.2304, allocations: 11.94 kB / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2304, allocations: 3.938 kB / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2305, allocations: 0 / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.008e-05/0.2305, allocations: 8 kB / 0.8316 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.2305, allocations: 0 / 0.8316 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.733e-05/0.2306, allocations: 11.94 kB / 0.8317 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.2306, allocations: 3.984 kB / 0.8317 GB, free: 12.2 MB / 0.6544 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 7.315e-05/0.2307, allocations: 109.9 kB / 0.8318 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.2307, allocations: 11.84 kB / 0.8318 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.2307, allocations: 11.92 kB / 0.8318 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2307, allocations: 0 / 0.8318 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2307, allocations: 0 / 0.8318 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2307, allocations: 0 / 0.8318 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.2309, allocations: 157.7 kB / 0.8319 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2309, allocations: 3.984 kB / 0.8319 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.2309, allocations: 7.938 kB / 0.832 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.2309, allocations: 7.922 kB / 0.832 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.2309, allocations: 0 / 0.832 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2309, allocations: 4 kB / 0.832 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2309, allocations: 0 / 0.832 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.2311, allocations: 81.11 kB / 0.832 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.2311, allocations: 81.11 kB / 0.8321 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.2311, allocations: 3.938 kB / 0.8321 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.027e-05/0.2312, allocations: 0 / 0.8321 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.2312, allocations: 4 kB / 0.8321 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.2312, allocations: 0 / 0.8321 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.476e-05/0.2313, allocations: 91.27 kB / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2313, allocations: 0 / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002506/0.2316, allocations: 24 kB / 0.8322 GB, free: 11.51 MB / 0.6544 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.0003449/0.2319, allocations: 174.2 kB / 0.8324 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.232, allocations: 32.11 kB / 0.8324 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2321, allocations: 0 / 0.8324 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.918e-05/0.2321, allocations: 23.86 kB / 0.8325 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.2323, allocations: 2.234 kB / 0.8325 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002462/0.2325, allocations: 113.1 kB / 0.8326 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.2328, allocations: 0.6805 MB / 0.8332 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.2328, allocations: 4 kB / 0.8332 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.49e-05/0.2328, allocations: 7.438 kB / 0.8332 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.2328, allocations: 4.062 kB / 0.8332 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.00381/0.2366, allocations: 1.035 MB / 0.8343 GB, free: 9.395 MB / 0.6544 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)