Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.548/1.548, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 180.8 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 88.64 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003268, allocations: 10.06 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2123, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001336/0.2137, allocations: 0.9337 MB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006885/0.2144, allocations: 381.7 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.532e-05/0.2145, allocations: 0 / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.2145, allocations: 0 / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.551e-05/0.2146, allocations: 4 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.215, allocations: 71.72 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.402e-05/0.215, allocations: 7.984 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/0.2151, allocations: 7.984 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.281e-05/0.2151, allocations: 4 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.243e-05/0.2152, allocations: 11.98 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.2152, allocations: 0 / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.2154, allocations: 67.86 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.2154, allocations: 4 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.2154, allocations: 29.7 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.2156, allocations: 59.84 kB / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2156, allocations: 0 / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.786e-06/0.2156, allocations: 0 / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2156, allocations: 0 / 0.9017 GB, free: 62.29 MB / 0.6042 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.000479/0.2161, allocations: 339.4 kB / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.2161, allocations: 8.031 kB / 0.902 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.694e-05/0.2162, allocations: 34.56 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.2163, allocations: 0 / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.2164, allocations: 171 kB / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.2164, allocations: 4 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.2164, allocations: 4 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.2165, allocations: 45.69 kB / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2166, allocations: 0 / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.2166, allocations: 0 / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.2166, allocations: 0 / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.732e-05/0.2166, allocations: 7.984 kB / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.2169, allocations: 253.9 kB / 0.9025 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.554e-05/0.217, allocations: 38.5 kB / 0.9025 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.217, allocations: 4 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.2172, allocations: 55.48 kB / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.2172, allocations: 0 / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0001833/0.2174, allocations: 73.62 kB / 0.9027 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.2174, allocations: 63.27 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.116e-05/0.2175, allocations: 101.9 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.2175, allocations: 25.7 kB / 0.9028 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.2175, allocations: 80.14 kB / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.2176, allocations: 19.75 kB / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.2176, allocations: 0 / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.865e-05/0.2177, allocations: 318.8 kB / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.2177, allocations: 11.98 kB / 0.9033 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.968e-05/0.2177, allocations: 35.55 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.849e-05/0.2177, allocations: 16 kB / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2178, allocations: 0 / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.482e-05/0.2178, allocations: 73.55 kB / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2179, allocations: 10.97 kB / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2179, allocations: 0 / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2179, allocations: 0 / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.126e-05/0.218, allocations: 8 kB / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.218, allocations: 4.219 kB / 0.9034 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.218, allocations: 4 kB / 0.9034 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.218, allocations: 7.984 kB / 0.9034 GB, free: 60.27 MB / 0.6042 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 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.035e-05/0.2181, allocations: 121.7 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-06/0.2181, allocations: 7.891 kB / 0.9035 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.2181, allocations: 7.562 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.2181, allocations: 0 / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2182, allocations: 0 / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.2182, allocations: 0 / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.2184, allocations: 298.6 kB / 0.9038 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2184, allocations: 0 / 0.9038 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/0.2184, allocations: 7.984 kB / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2184, allocations: 0 / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.2184, allocations: 320 / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2184, allocations: 3.938 kB / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2184, allocations: 8 kB / 0.9038 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.173e-05/0.2185, allocations: 155.5 kB / 0.904 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.2186, allocations: 93.03 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.2186, allocations: 0 / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.768e-05/0.2186, allocations: 0 / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.2187, allocations: 11.94 kB / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.2187, allocations: 0 / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.018e-05/0.2187, allocations: 83.2 kB / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2187, allocations: 0 / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002629/0.219, allocations: 32 kB / 0.9042 GB, free: 59.36 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005221/0.2195, allocations: 0.7646 MB / 0.9049 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.84e-05/0.2196, allocations: 35.92 kB / 0.905 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2196, allocations: 128 / 0.905 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.77e-05/0.2196, allocations: 16 kB / 0.905 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.2198, allocations: 7.984 kB / 0.905 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005431/0.2203, allocations: 0.7858 MB / 0.9058 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.2205, allocations: 0.6848 MB / 0.9064 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.26e-05/0.2205, allocations: 0 / 0.9064 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.2206, allocations: 15.42 kB / 0.9065 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2206, allocations: 0 / 0.9065 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01482/0.2354, allocations: 1.659 MB / 0.9081 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.2357, allocations: 249.4 kB / 0.9083 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/1.733, allocations: 2.344 kB / 0.9083 GB, free: 55.14 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)