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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.481/1.481, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.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.731/1.731, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001472/0.001472, allocations: 70.61 kB / 0.6718 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2561, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002438/0.2586, allocations: 1.213 MB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007512/0.2594, allocations: 399.5 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.421e-05/0.2594, allocations: 0 / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.2595, allocations: 0 / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.696e-05/0.2595, allocations: 0 / 0.7852 GB, free: 11.66 MB / 0.6075 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.0004969/0.26, allocations: 107.6 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.997e-05/0.2601, allocations: 11.92 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.2601, allocations: 4 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.225e-05/0.2601, allocations: 15.98 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.137e-05/0.2601, allocations: 0 / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.2602, allocations: 4 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.2603, allocations: 91.84 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.2604, allocations: 11.91 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.2604, allocations: 8 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.2606, allocations: 75.83 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2606, allocations: 0 / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2606, allocations: 0 / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.2606, allocations: 0 / 0.7855 GB, free: 11.34 MB / 0.6075 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.0004097/0.261, allocations: 351.8 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.261, allocations: 8.031 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/0.2611, allocations: 42.62 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.2611, allocations: 4.938 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.72e-05/0.2612, allocations: 164.3 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.2612, allocations: 384 / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.2612, allocations: 4.375 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.245e-05/0.2613, allocations: 50.22 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2614, allocations: 3.938 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.2614, allocations: 4 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2614, allocations: 0 / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.459e-05/0.2614, allocations: 4 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.2617, allocations: 252.9 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.873e-05/0.2618, allocations: 34.5 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.2618, allocations: 16.86 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.2619, allocations: 0 / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.262, allocations: 63.42 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.262, allocations: 0 / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0001741/0.2622, allocations: 73.72 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.2622, allocations: 63.39 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.247e-05/0.2623, allocations: 93.86 kB / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.2623, allocations: 29.7 kB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.992e-05/0.2623, allocations: 84.14 kB / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.2624, allocations: 3.906 kB / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.2624, allocations: 25.7 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.888e-05/0.2625, allocations: 314.8 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.2625, allocations: 4 kB / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-05/0.2626, allocations: 43.61 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.758e-05/0.2626, allocations: 51.36 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2626, allocations: 3.938 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.817e-05/0.2627, allocations: 77.47 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.2627, allocations: 8 kB / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2628, allocations: 0 / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.2628, allocations: 8.062 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-05/0.2628, allocations: 7.984 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2628, allocations: 4 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.507e-05/0.2629, allocations: 3.938 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.2629, allocations: 4 kB / 0.7873 GB, free: 9.207 MB / 0.6075 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.067e-05/0.263, allocations: 121.7 kB / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.996e-06/0.263, allocations: 0 / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.263, allocations: 7.5 kB / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.263, allocations: 0 / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.263, allocations: 4 kB / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.263, allocations: 12.06 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.2632, allocations: 294.6 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2633, allocations: 0 / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.995e-05/0.2633, allocations: 4 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.2633, allocations: 0 / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.2633, allocations: 0 / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2633, allocations: 7.984 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2633, allocations: 0 / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.2634, allocations: 171.3 kB / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.2635, allocations: 81.05 kB / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.2635, allocations: 0 / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.169e-05/0.2636, allocations: 4.109 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.2636, allocations: 8 kB / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.2636, allocations: 0 / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.888e-05/0.2636, allocations: 79.28 kB / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2636, allocations: 0 / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002621/0.2639, allocations: 40.02 kB / 0.7881 GB, free: 8.285 MB / 0.6075 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.000582/0.2645, allocations: 0.7622 MB / 0.7889 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.15e-05/0.2646, allocations: 39.92 kB / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.2646, allocations: 0 / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.2646, allocations: 8 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.2648, allocations: 4 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009783/0.2658, allocations: 1.261 MB / 0.7901 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.2661, allocations: 0.6768 MB / 0.7908 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.942e-05/0.2661, allocations: 4 kB / 0.7908 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.2661, allocations: 15.44 kB / 0.7908 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2661, allocations: 0 / 0.7908 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.2835, allocations: 1.889 MB / 0.7927 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/7.87, allocations: 14.19 kB / 0.7927 GB, free: 3.621 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)