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.001405/0.001405, allocations: 108 kB / 15.61 MB, free: 152 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.001565/0.001565, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.278/1.278, allocations: 205.1 MB / 222.4 MB, free: 4.637 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.699/1.699, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001385/0.001385, allocations: 70.64 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1768, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002019/0.1789, allocations: 1.202 MB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007155/0.1796, allocations: 411.5 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.1796, allocations: 0 / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.201e-05/0.1797, allocations: 0 / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.889e-05/0.1797, allocations: 0 / 0.785 GB, free: 11.78 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.0004769/0.1802, allocations: 99.58 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.348e-05/0.1802, allocations: 15.94 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.1803, allocations: 7.984 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.564e-05/0.1803, allocations: 0 / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.451e-05/0.1803, allocations: 8 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.1803, allocations: 0 / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.1805, allocations: 103.8 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.1806, allocations: 7.922 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.1806, allocations: 4 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1807, allocations: 79.83 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1807, allocations: 0 / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1808, allocations: 0 / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.1808, allocations: 0 / 0.7853 GB, free: 11.46 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.0004487/0.1812, allocations: 347.8 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1813, allocations: 8.031 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.1813, allocations: 34.75 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.1813, allocations: 12.88 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.053e-05/0.1814, allocations: 164.3 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1815, allocations: 4.359 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.1815, allocations: 4.375 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.192e-05/0.1816, allocations: 38.25 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1816, allocations: 3.938 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.1816, allocations: 0 / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1816, allocations: 4 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.519e-05/0.1816, allocations: 8 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.1819, allocations: 244.9 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.478e-05/0.182, allocations: 38.5 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.97e-05/0.1821, allocations: 16.86 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.1821, allocations: 4.078 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.1822, allocations: 59.34 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.1822, allocations: 0 / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0001791/0.1824, allocations: 85.52 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.1824, allocations: 51.41 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.693e-05/0.1825, allocations: 97.86 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.1825, allocations: 25.7 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.835e-05/0.1826, allocations: 84.27 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.1826, allocations: 19.83 kB / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.1826, allocations: 17.72 kB / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.1827, allocations: 318.8 kB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.077e-05/0.1827, allocations: 7.984 kB / 0.787 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-05/0.1828, allocations: 35.42 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.054e-05/0.1828, allocations: 59.34 kB / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1829, allocations: 3.938 kB / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001035/0.183, allocations: 73.47 kB / 0.7871 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.183, allocations: 8 kB / 0.7871 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.183, allocations: 3.984 kB / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.183, allocations: 0 / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.613e-05/0.1831, allocations: 8 kB / 0.7871 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1831, allocations: 4.062 kB / 0.7872 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.1831, allocations: 11.94 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.1831, allocations: 4 kB / 0.7872 GB, free: 9.324 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 6.577e-05/0.1832, allocations: 114.4 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.1832, allocations: 7.938 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.081e-05/0.1832, allocations: 7.547 kB / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1832, allocations: 0 / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1833, allocations: 0 / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1833, allocations: 0 / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.1835, allocations: 298.6 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1835, allocations: 0 / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.1835, allocations: 4 kB / 0.7876 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1835, allocations: 3.984 kB / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1835, allocations: 4 kB / 0.7876 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.1835, allocations: 0 / 0.7876 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1835, allocations: 0 / 0.7876 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.1837, allocations: 163.6 kB / 0.7877 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.1837, allocations: 97.03 kB / 0.7878 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.1837, allocations: 4.062 kB / 0.7878 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.95e-05/0.1838, allocations: 0 / 0.7878 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.1838, allocations: 0 / 0.7878 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.1838, allocations: 4 kB / 0.7878 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.683e-05/0.1839, allocations: 75.28 kB / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1839, allocations: 0 / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002715/0.1841, allocations: 39.92 kB / 0.788 GB, free: 8.414 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.0005661/0.1847, allocations: 0.7696 MB / 0.7887 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.688e-05/0.1848, allocations: 31.92 kB / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1848, allocations: 4.125 kB / 0.7887 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.1849, allocations: 16 kB / 0.7888 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.1851, allocations: 7.984 kB / 0.7888 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009166/0.186, allocations: 1.253 MB / 0.79 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.1862, allocations: 0.6807 MB / 0.7907 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.812e-05/0.1862, allocations: 0 / 0.7907 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.1863, allocations: 15.16 kB / 0.7907 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.1863, allocations: 3.938 kB / 0.7907 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.2135, allocations: 1.868 MB / 0.7925 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.292/7.505, allocations: 12.94 kB / 0.7925 GB, free: 3.746 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)