Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 105 kB / 16.36 MB, free: 6.309 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.001727/0.001728, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.303/1.303, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 292.3 MB / 0.5496 GB, free: 17.58 MB / 462.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.00247/0.00247, allocations: 67.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2205, allocations: 114.5 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002147/0.2227, allocations: 1.213 MB / 0.786 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007264/0.2235, allocations: 403.6 kB / 0.7863 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.2235, allocations: 4 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.2235, allocations: 3.938 kB / 0.7864 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.793e-05/0.2236, allocations: 3.938 kB / 0.7864 GB, free: 1.527 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 8.1.4-maint.8.1.x/Occupants/BaseClasses/exponentialVariableGeneration.mo:2:1-32:34:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.exponentialVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/exponentialVariableGeneration.mo:11:5-11:98: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 NFTyping.typeClassSections: time 0.0004465/0.224, allocations: 91.66 kB / 0.7864 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.798e-05/0.2241, allocations: 15.98 kB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.111e-05/0.2241, allocations: 0 / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.12e-05/0.2242, allocations: 15.92 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.52e-05/0.2242, allocations: 11.98 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.2242, allocations: 0 / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.2244, allocations: 91.84 kB / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.2244, allocations: 4 kB / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.2244, allocations: 7.922 kB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.2246, allocations: 79.83 kB / 0.7867 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2246, allocations: 4 kB / 0.7867 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2246, allocations: 0 / 0.7867 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.2246, allocations: 0 / 0.7867 GB, free: 1.211 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.0003707/0.225, allocations: 343.6 kB / 0.787 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.225, allocations: 8.031 kB / 0.787 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.225, allocations: 4.938 kB / 0.787 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.295e-05/0.2251, allocations: 172.2 kB / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.2252, allocations: 384 / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.2252, allocations: 8.375 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.869e-05/0.2253, allocations: 38.19 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.2253, allocations: 192 / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.2253, allocations: 7.938 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-06/0.2253, allocations: 0 / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.129e-05/0.2253, allocations: 4 kB / 0.7872 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.2254, allocations: 153.7 kB / 0.7874 GB, free: 352 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.723e-05/0.2255, allocations: 30.61 kB / 0.7874 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.2255, allocations: 12.86 kB / 0.7874 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.2256, allocations: 0 / 0.7874 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.2257, allocations: 63.42 kB / 0.7875 GB, free: 220 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2257, allocations: 0 / 0.7875 GB, free: 220 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001616/0.2258, allocations: 73.59 kB / 0.7875 GB, free: 140 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.2259, allocations: 51.41 kB / 0.7876 GB, free: 76 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3054/0.5313, allocations: 97.8 kB / 0.7877 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.5313, allocations: 31.73 kB / 0.7877 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.76e-05/0.5313, allocations: 82.36 kB / 0.7878 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.5314, allocations: 9.25 kB / 0.7878 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.5314, allocations: 22.48 kB / 0.7878 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.358e-05/0.5315, allocations: 316.8 kB / 0.7881 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.5315, allocations: 8.297 kB / 0.7881 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.304e-05/0.5315, allocations: 34.17 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.817e-05/0.5316, allocations: 46.97 kB / 0.7882 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5316, allocations: 0 / 0.7882 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001115/0.5317, allocations: 69.42 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.5318, allocations: 5.25 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5318, allocations: 4.312 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.5318, allocations: 0 / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.418e-05/0.5319, allocations: 14.72 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.5319, allocations: 3.312 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.139e-05/0.5319, allocations: 5.25 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.532, allocations: 2.625 kB / 0.7883 GB, free: 48.3 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 5.998e-05/0.532, allocations: 115.9 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.532, allocations: 0 / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.5321, allocations: 4.344 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5321, allocations: 6.562 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5321, allocations: 1.938 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.5321, allocations: 82.28 kB / 0.7885 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.5321, allocations: 2.625 kB / 0.7885 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.379e-05/0.5322, allocations: 1.391 kB / 0.7885 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.5322, allocations: 3.391 kB / 0.7885 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001165/0.5323, allocations: 140.6 kB / 0.7887 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00011/0.5324, allocations: 235 kB / 0.7889 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.503e-05/0.5325, allocations: 11.52 kB / 0.7889 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.555e-05/0.5325, allocations: 80.28 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of Backend: time 7.82e-07/0.5325, allocations: 2.625 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006067/0.5331, allocations: 165.8 kB / 0.7891 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0002991/0.5334, allocations: 0.5378 MB / 0.7897 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of Templates: time 0.003165/0.5366, allocations: 0.9857 MB / 0.7906 GB, free: 47.05 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)